social-reporting-tool/docker-compose.prod.yml
DJP c5c40aa4e5 Add server deployment: Apache proxy, static frontend, deploy script
- Static frontend (index.html, login.html, config.js) for Apache serving
- JSON-based auth API endpoints (/api/login, /api/auth, /api/logout)
- Apache config with ProxyPass for /social-reports path
- deploy/setup.sh for Ubuntu + Apache + Docker deployment
- docker-compose.prod.yml binds ports to 127.0.0.1 only
- Configurable API base URL via frontend/config.js

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 11:23:47 -04:00

13 lines
342 B
YAML

# Production overrides — use with: docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
services:
db:
ports:
- "127.0.0.1:5435:5432"
restart: unless-stopped
social-listening:
ports:
- "127.0.0.1:3456:3456"
restart: unless-stopped
environment:
- SESSION_SECRET=${SESSION_SECRET:-}