summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/calcom.yml
blob: 3e9302605e30fbbeb3d6f6d3cc5f98f19a2ab4f1 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
captainVersion: 4
services:
    $$cap_appname:
        caproverExtra:
            containerHttpPort: 3000
        image: calcom/cal.com:$$cap_CALCOM_VERSION
        environment:
            NEXT_PUBLIC_WEBAPP_URL: http://$$cap_appname.$$cap_root_domain
            NEXTAUTH_SECRET: $$cap_CALCOM_NEXTAUTH_SECRET
            CALENDSO_ENCRYPTION_KEY: $$cap_CALCOM_CALENDSO_ENCRYPTION_KEY
            CALCOM_TELEMETRY_DISABLED: $$cap_CALCOM_TELEMETRY_DISABLED
            NODE_TLS_REJECT_UNAUTHORIZED: $$cap_CALCOM_NODE_TLS_REJECT_UNAUTHORIZED
            DATABASE_URL: postgresql://$$cap_POSTGRES_USER:$$cap_POSTGRES_PASSWORD@srv-captain--$$cap_appname-db/$$cap_POSTGRES_DATABASE
            EMAIL_FROM: $$cap_CALCOM_EMAIL_FROM
            EMAIL_SERVER_HOST: $$cap_CALCOM_EMAIL_SERVER_HOST
            EMAIL_SERVER_PORT: $$cap_CALCOM_EMAIL_SERVER_PORT
            EMAIL_SERVER_USER: $$cap_CALCOM_EMAIL_SERVER_USER
            EMAIL_SERVER_PASSWORD: $$cap_CALCOM_EMAIL_SERVER_PASSWORD
    $$cap_appname-db:
        caproverExtra:
            notExposeAsWebApp: 'true'
        image: postgres:$$cap_POSTGRES_VERSION
        environment:
            POSTGRES_DB: $$cap_POSTGRES_DATABASE
            POSTGRES_USER: $$cap_POSTGRES_USER
            POSTGRES_PASSWORD: $$cap_POSTGRES_PASSWORD
        volumes:
            - $$cap_appname-db:/var/lib/postgresql/data
caproverOneClickApp:
    instructions:
        start: |-
            The open source Calendly alternative.
            You are in charge of your own data, workflow and appearance.
            White-label by design.
            API-driven and ready to be deployed on your own domain.
            Full control of your events and data.
        end: |-
            Cal.com has been successfully deployed! It might take few moments before it's fully started.
            You can access the application at `http://$$cap_appname.$$cap_root_domain`.

            If you enabled HTTPS, you should adjust the `NEXT_PUBLIC_WEBAPP_URL` environment variable accordingly.
    displayName: Cal.com
    isOfficial: true
    description: Scheduling Infrastructure For Everyone
    documentation: https://cal.com/docs
    variables:
        - id: $$cap_CALCOM_VERSION
          label: Application | Version
          description: Cal.com version. Check out their valid tags at https://hub.docker.com/r/calcom/cal.com/tags
          defaultValue: 'v3.1.3'
          validRegex: /.{1,}/
        - id: $$cap_CALCOM_NEXTAUTH_SECRET
          label: Application | Cookie Secret
          description: Cookie Encryption Key
          defaultValue: $$cap_gen_random_hex(32)
          validRegex: /.{1,}/
        - id: $$cap_CALCOM_CALENDSO_ENCRYPTION_KEY
          label: Application | Authentication Secret
          description: Authentication Encryption Key
          defaultValue: $$cap_gen_random_hex(32)
          validRegex: /.{1,}/
        - id: $$cap_CALCOM_TELEMETRY_DISABLED
          label: Application | Usage Data Collection
          description: Allow cal.com to collect anonymous usage data. Set to `1` to disable
          defaultValue: '1'
        - id: $$cap_CALCOM_NODE_TLS_REJECT_UNAUTHORIZED
          label: Application | Reject Unauthorized Requests
          description: Whether to reject unauthorized requests. Set to `0` if running behind a load balancer or reverse proxy
          defaultValue: '0'
        - id: $$cap_CALCOM_EMAIL_FROM
          label: Email | From
          description: Sender email address. Optional
        - id: $$cap_CALCOM_EMAIL_SERVER_HOST
          label: Email | Host
          description: SMTP Host. Optional
        - id: $$cap_CALCOM_EMAIL_SERVER_PORT
          label: Email | Port
          description: SMTP Port. Optional
        - id: $$cap_CALCOM_EMAIL_SERVER_USER
          label: Email | User
          description: SMTP User. Optional
        - id: $$cap_CALCOM_EMAIL_SERVER_PASSWORD
          label: Email | Password
          description: SMTP Password. Optional
        - id: $$cap_POSTGRES_VERSION
          label: Database | Version
          description: PostgreSQL version. Check out their valid tags at https://hub.docker.com/_/postgres/tags
          defaultValue: '15.0-alpine'
          validRegex: /.{1,}/
        - id: $$cap_POSTGRES_DATABASE
          label: Database | Name
          description: Name of the PostgreSQL database
          defaultValue: calcom
          validRegex: /.{1,}/
        - id: $$cap_POSTGRES_USER
          label: Database | User Name
          description: Name of the PostgreSQL user
          defaultValue: calcom
          validRegex: /.{1,}/
        - id: $$cap_POSTGRES_PASSWORD
          label: Database | User Password
          description: Password of the PostgreSQL user
          defaultValue: $$cap_gen_random_hex(16)
          validRegex: /.{1,}/