Include full contents of all nested repositories
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
61
letsbe-ansible-runner/stacks/calcom/.env
Normal file
61
letsbe-ansible-runner/stacks/calcom/.env
Normal file
@@ -0,0 +1,61 @@
|
||||
# Set this value to 'agree' to accept our license:
|
||||
# LICENSE: https://github.com/calendso/calendso/blob/main/LICENSE
|
||||
#
|
||||
# Summary of terms:
|
||||
# - The codebase has to stay open source, whether it was modified or not
|
||||
# - You can not repackage or sell the codebase
|
||||
# - Acquire a commercial license to remove these terms by emailing: license@cal.com
|
||||
NEXT_PUBLIC_LICENSE_CONSENT=
|
||||
LICENSE=
|
||||
|
||||
# BASE_URL and NEXT_PUBLIC_APP_URL are both deprecated. Both are replaced with one variable, NEXT_PUBLIC_WEBAPP_URL
|
||||
# BASE_URL=http://localhost:3000
|
||||
# NEXT_PUBLIC_APP_URL=http://localhost:3000
|
||||
|
||||
NEXT_PUBLIC_WEBAPP_URL=https://{{ domain_calcom }}
|
||||
|
||||
# Configure NEXTAUTH_URL manually if needed, otherwise it will resolve to {NEXT_PUBLIC_WEBAPP_URL}/api/auth
|
||||
# NEXTAUTH_URL=http://localhost:3000/api/auth
|
||||
|
||||
# It is highly recommended that the NEXTAUTH_SECRET must be overridden and very unique
|
||||
# Use `openssl rand -base64 32` to generate a key
|
||||
NEXTAUTH_SECRET={{ calcom_nextauth_secret }}
|
||||
|
||||
# Encryption key that will be used to encrypt CalDAV credentials, choose a random string, for example with `dd if=/dev/urandom bs=1K count=1 | md5sum`
|
||||
CALENDSO_ENCRYPTION_KEY=md5sum
|
||||
|
||||
# Deprecation note: JWT_SECRET is no longer used
|
||||
# JWT_SECRET=secret
|
||||
|
||||
POSTGRES_USER={{ calcom_postgres_user }}
|
||||
POSTGRES_PASSWORD={{ calcom_postgres_password }}
|
||||
POSTGRES_DB=calcom
|
||||
DATABASE_HOST={{ customer }}-calcom-postgres:5432
|
||||
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
|
||||
GOOGLE_API_CREDENTIALS={}
|
||||
#Fix calcom db migration issues
|
||||
DATABASE_DIRECT_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
|
||||
|
||||
# Set this to '1' if you don't want Cal to collect anonymous usage
|
||||
CALCOM_TELEMETRY_DISABLED=1
|
||||
|
||||
# Used for the Office 365 / Outlook.com Calendar integration
|
||||
MS_GRAPH_CLIENT_ID=
|
||||
MS_GRAPH_CLIENT_SECRET=
|
||||
|
||||
# Used for the Zoom integration
|
||||
ZOOM_CLIENT_ID=
|
||||
ZOOM_CLIENT_SECRET=
|
||||
|
||||
# E-mail settings
|
||||
# Configures the global From: header whilst sending emails.
|
||||
EMAIL_FROM=system@{{ domain }}
|
||||
SUPPORT_MAIL_ADDRESS=support@{{ domain }}
|
||||
# Configure SMTP settings (@see https://nodemailer.com/smtp/).
|
||||
EMAIL_SERVER_HOST=mail.{{ domain }}
|
||||
EMAIL_SERVER_PORT=587
|
||||
EMAIL_SERVER_USER=system@{{ domain }}
|
||||
EMAIL_SERVER_PASSWORD=
|
||||
#EMAIL_SERVER_SECURE=false
|
||||
|
||||
NODE_ENV=production
|
||||
41
letsbe-ansible-runner/stacks/calcom/docker-compose.yml
Normal file
41
letsbe-ansible-runner/stacks/calcom/docker-compose.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
services:
|
||||
calcom-postgres:
|
||||
container_name: {{ customer }}-calcom-postgres
|
||||
image: postgres:16 #original postgres
|
||||
restart: always
|
||||
volumes:
|
||||
- {{ customer }}-calcom-postgres:/var/lib/postgresql/data/
|
||||
- {{ customer }}-calcom-backups:/tmp/backups
|
||||
env_file: /opt/letsbe/env/calcom.env
|
||||
networks:
|
||||
{{ customer }}-calcom:
|
||||
ipv4_address: 172.20.18.2
|
||||
|
||||
calcom:
|
||||
container_name: {{ customer }}-calcom
|
||||
image: calcom/cal.com:v5.9.8
|
||||
restart: always
|
||||
labels:
|
||||
- "diun.enable=true"
|
||||
ports:
|
||||
- '127.0.0.1:3018:3000'
|
||||
env_file: /opt/letsbe/env/calcom.env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
|
||||
depends_on:
|
||||
- calcom-postgres
|
||||
networks:
|
||||
{{ customer }}-calcom:
|
||||
ipv4_address: 172.20.18.3
|
||||
|
||||
networks:
|
||||
{{ customer }}-calcom:
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.20.18.0/28
|
||||
gateway: 172.20.18.1
|
||||
|
||||
volumes:
|
||||
{{ customer }}-calcom-postgres:
|
||||
{{ customer }}-calcom-backups:
|
||||
Reference in New Issue
Block a user