Files
url_shortening_service/docker-compose.prod.yml
T
westfarn 143ac7c6d0
CI / test (pull_request) Successful in 6s
Add v1 shortener: Bearer API, public 302, landing, and CI.
Standalone Django service so callers can mint links and phones get a 302.
Closes #1.
2026-08-30 06:54:32 -05:00

11 lines
274 B
YAML

# Production compose for server-infra deploy. No bundled Postgres — use shared
# external DB via DATABASE_URL in .env (see .env.prod.example).
services:
web:
build: .
restart: unless-stopped
ports:
- "${WEB_PORT:-8005}:8000"
env_file:
- .env