summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/claper.yml
blob: a1a2bf5000e9f3711e2400c53d70c50e11a47a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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/