Files
PocketVeto/docker-compose.prod.yml
Jack Levy 4c86a5b9ca feat: PocketVeto v1.0.0 — initial public release
Self-hosted US Congress monitoring platform with AI policy briefs,
bill/member/topic follows, ntfy + RSS + email notifications,
alignment scoring, collections, and draft-letter generator.

Authored by: Jack Levy
2026-03-15 01:35:01 -04:00

34 lines
713 B
YAML

# Production overrides — use with:
# docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build
#
# Changes from dev:
# - uvicorn runs without --reload
# - all services restart unless stopped
# - worker concurrency bumped to match a typical host
services:
postgres:
restart: unless-stopped
redis:
restart: unless-stopped
api:
# dev: --reload --workers 1
command: >
sh -c "alembic upgrade head &&
uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers 2"
restart: unless-stopped
worker:
restart: unless-stopped
beat:
restart: unless-stopped
frontend:
restart: unless-stopped
nginx:
restart: unless-stopped