- docker-compose.cc.yml: pin calcom v6.2.0 + postgres 16-alpine + redis 7-alpine; studio + calcom-api off (reserved profiles) - cc.env.example: CC production env spec (webapp URL, telemetry off, branding) - cc/README.md: mirror manifest + upstream-merge process
39 lines
1.4 KiB
Bash
39 lines
1.4 KiB
Bash
# cal.diy — Commons Computer deployment env (issue #11, cc branch)
|
|
# Template spec for the production `.env`; ansible renders `.env` from the
|
|
# cc-ansible vault (group_vars/cc_apps/vault.yml) — keep the two in sync.
|
|
# Never commit the real `.env`. Generate secrets with:
|
|
# NEXTAUTH_SECRET=$(openssl rand -base64 32)
|
|
# CALENDSO_ENCRYPTION_KEY=$(openssl rand -base64 24)
|
|
# CALCOM_APP_CREDENTIAL_ENCRYPTION_KEY=$(openssl rand -base64 32)
|
|
# JWT_SECRET=$(openssl rand -base64 32)
|
|
# POSTGRES_PASSWORD=$(openssl rand -base64 24)
|
|
|
|
NODE_ENV=production
|
|
NEXT_PUBLIC_WEBAPP_URL=https://cal.commonscomputer.com
|
|
NEXT_PUBLIC_API_V2_URL=
|
|
CALCOM_TELEMETRY_DISABLED=1
|
|
ORGANIZATIONS_ENABLED=false
|
|
ALLOWED_HOSTNAMES='"cal.commonscomputer.com"'
|
|
|
|
# --- postgres (compose service `database`) ---
|
|
DATABASE_HOST=database
|
|
POSTGRES_USER=caldiy
|
|
POSTGRES_PASSWORD=REPLACE_ME
|
|
POSTGRES_DB=calendso
|
|
DATABASE_URL=postgresql://caldiy:REPLACE_ME@database/calendso
|
|
DATABASE_DIRECT_URL=postgresql://caldiy:REPLACE_ME@database/calendso
|
|
|
|
# --- auth / encryption ---
|
|
NEXTAUTH_URL=https://cal.commonscomputer.com
|
|
NEXTAUTH_SECRET=REPLACE_ME
|
|
CALENDSO_ENCRYPTION_KEY=REPLACE_ME
|
|
CALCOM_APP_CREDENTIAL_ENCRYPTION_KEY=REPLACE_ME
|
|
|
|
# --- redis (compose service `redis`) ---
|
|
REDIS_URL=redis://redis:6379
|
|
REDIS_PORT=6379
|
|
|
|
# --- v2 API (calcom-api service; off for v1) ---
|
|
JWT_SECRET=REPLACE_ME
|
|
API_KEY_PREFIX=cal_
|
|
WEB_APP_URL=https://cal.commonscomputer.com |