RosterHash/compose.yaml
2025-09-04 21:31:23 -07:00

27 lines
658 B
YAML

services:
fantasycron:
image: fantasycron:latest # Use pre-built image
ports:
- "5000:5000"
environment:
- SECRET_KEY=your-secret-key-here
- DATABASE_URL=sqlite:///fantasy_app.db
volumes:
- ./data:/app/data
restart: unless-stopped
# Optional PostgreSQL service
# Uncomment to use PostgreSQL instead of SQLite
# postgres:
# image: postgres:13
# environment:
# POSTGRES_DB: fantasy_app
# POSTGRES_USER: fantasy_user
# POSTGRES_PASSWORD: fantasy_pass
# volumes:
# - postgres_data:/var/lib/postgresql/data
# ports:
# - "5432:5432"
# volumes:
# postgres_data: