one-click-apps/public/v4/apps/claper.yml

53 lines
2.0 KiB
YAML

captainVersion: 4
services:
$$cap_appname-postgres:
image: postgres:$$cap_POSTGRES_VERSION
environment:
POSTGRES_USER: claper
POSTGRES_PASSWORD: $$cap_postgres_passwd
volumes:
- $$cap_appname-postgres-data:/var/lib/postgresql/data
caproverExtra:
notExposeAsWebApp: 'true'
$$cap_appname:
image: ghcr.io/claperco/claper:$$cap_claper_ver
container_name: claper
volumes:
- $$cap_appname-uploads:/app/priv/static/uploads
environment:
DATABASE_URL: postgres://claper:$$cap_postgres_passwd@srv-captain--$$cap_appname-postgres:5432/claper
MAIL_TRANSPORT: local
ENDPOINT_HOST: $$cap_appname.$$cap_root_domain
ENDPOINT_PORT: 443
SECRET_KEY_BASE: $$cap_gen_random_hex(64)
caproverExtra:
containerHttpPort: '4000'
caproverOneClickApp:
variables:
- id: $$cap_postgres_passwd
label: Postgres User Password
description: User password for the database instance.
defaultValue: $$cap_gen_random_hex(16)
validRegex: /^(?=.*\d).{10,}$/
- id: $$cap_claper_ver
label: Claper Version
description: Check out their page for the valid tags https://github.com/ClaperCo/Claper/pkgs/container/claper
defaultValue: 1.4.0
validRegex: /.+/
- id: $$cap_POSTGRES_VERSION
label: Postgres Version
description: Version of PostgreSQL. Check out their Docker page for the valid tags https://hub.docker.com/_/postgres/tags
defaultValue: 15-alpine
instructions:
start: |-
Claper turns your presentations into an interactive, engaging and exciting experience.
end: |-
Please enable websocket and HTTPS after the installation.
displayName: Claper
isOfficial: true
description: Claper turns your presentations into an interactive, engaging and exciting experience.
documentation: For more information, check https://claper.co/