Files
web_django_template/docker-compose.prod.yml
westfarnandCursor 787f0e48fb Populate the client website template with catalog feature flags.
Extract always-on public/portal/UTM plus optional email_sms, directmail, blog, payments, social, and social_ai so new client sites can be bootstrapped from this seed.

Refs #1
Refs #2

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 07:55:26 -05:00

24 lines
665 B
YAML

# Production compose for server-infra deploy. No bundled Postgres — use shared
# external DB via DATABASE_URL in .env (see .env.prod.example).
#
# Web runs on every app host (active/active). Start the dj-queue worker on
# exactly ONE host via:
# docker compose -f docker-compose.prod.yml --profile worker up -d
# Worker also polls dispatch_due so scheduled campaigns/social posts fire.
services:
web:
build: .
restart: unless-stopped
ports:
- "${WEB_PORT:-8004}:8000"
env_file:
- .env
worker:
build: .
restart: unless-stopped
profiles: ["worker"]
entrypoint: ["/worker-entrypoint.sh"]
env_file:
- .env