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
This commit is contained in:
33
docker-compose.prod.yml
Normal file
33
docker-compose.prod.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user