31 lines
No EOL
789 B
Text
31 lines
No EOL
789 B
Text
version: '3.8'
|
|
|
|
services:
|
|
app:
|
|
# Uncomment to use local build instead of Forgejo registry
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
# Add build arguments if needed
|
|
- BUILD_ENV=development
|
|
|
|
# Uncomment to use Forgejo registry
|
|
# image: ${FORGEJO_REGISTRY}/${FORGEJO_USERNAME}/podcastrr:latest
|
|
|
|
# Override environment variables for local development
|
|
environment:
|
|
- FLASK_ENV=development
|
|
- LOG_LEVEL=DEBUG
|
|
|
|
# Add additional volumes for development
|
|
volumes:
|
|
- .:/app
|
|
|
|
# Add development-specific ports
|
|
ports:
|
|
- "5000:5000"
|
|
- "5678:5678" # For debugger if needed
|
|
|
|
# Add development tools if needed
|
|
# command: python -m debugpy --listen 0.0.0.0:5678 main.py |