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: