feat: add init service to dev compose, remove redundant build sections
api-ci-deploy / test-build-deploy (push) Has been cancelled

- Add init service behind --profile init with cc-api-dev:latest image
- Remove build sections from backend-dev and backend-test (pre-built images)
- Add env var comments referencing .env.example
- Standardize INIT_MODE=infra default, RUN_INIT=true for init service
This commit is contained in:
2026-05-29 21:15:52 +01:00
parent ead4452277
commit 52f5ef4ca2
2 changed files with 29 additions and 6 deletions
+5
View File
@@ -1,4 +1,9 @@
services:
# ── Required environment variables (see .env.example) ───────────────────────
# APP_BOLT_URL, USER_NEO4J, PASSWORD_NEO4J — Neo4j connection
# SUPABASE_URL, SERVICE_ROLE_KEY — Supabase project
# REDIS_HOST, REDIS_PORT, REDIS_PASSWORD — Redis (optional auth)
# FASTAPI_SECRET_KEY, ADMIN_EMAIL — API config
redis:
image: redis:7-alpine
container_name: classroomcopilot-redis