Files
cal.diy/docker-compose.cc.yml
T
hausgeist 3dbad3113d cc: build-based deploy — cal.diy publishes no prebuilt release images
Verified: Docker Hub calcom/cal.diy has 0 tags; scarf/ghcr mirrors serve none.
The upstream Dockerfile + compose build args are the deploy path.
2026-09-28 00:23:53 -07:00

30 lines
1.2 KiB
YAML

# cal.diy — Commons Computer deployment override (cc branch, issue #11)
#
# Usage (from the cc branch checkout):
# docker compose -f docker-compose.yml -f docker-compose.cc.yml build calcom
# docker compose -f docker-compose.yml -f docker-compose.cc.yml up -d database redis calcom
#
# Changes vs upstream docker-compose.yml:
# 1. Pin every image at a CC-known-good tag (cal.com, postgres, redis) —
# reproducibility is the point of this branch. NOTE: cal.diy does NOT
# publish prebuilt release images (Docker Hub: 0 tags; scarf/ghcr: none),
# so `calcom` is BUILT from source; the image: line is the local tag the
# build produces (build args come from .env via the base compose file).
# 2. Keep `calcom-api` (v2 API) and `studio` (Prisma) OUT of the v1 stack via
# a reserved profile — not part of the first cutover (issue #11).
services:
database:
image: postgres:16-alpine
redis:
image: redis:7-alpine
calcom:
image: calcom.docker.scarf.sh/calcom/cal.diy:v6.2.0
calcom-api:
profiles: ["off"] # v2 API — add with `--profile api` when needed
studio:
profiles: ["off"] # prisma studio — never in prod; `docker compose run` to use