Initial commit

This commit is contained in:
ai_ml_operations
2026-08-27 04:17:34 -07:00
commit 3a14bfb996
297 changed files with 32710 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# 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