feat: add calcom (#969)
This commit is contained in:
parent
9e86b7e0fe
commit
aaa12a4f37
|
|
@ -0,0 +1,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,}/
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Loading…
Reference in New Issue