bethaus-app/docker-compose.yml
2025-03-16 21:04:43 +00:00

21 lines
496 B
YAML
Executable File

services:
flask-app:
image: python:3.11-slim
container_name: bethaus-app
restart: always
working_dir: /app
volumes:
- ./:/app
- ./filecache:/app/filecache
- ./templates:/app/templates
- /mnt/app.bethaus:/mp3_root:ro
environment:
- FLASK_APP=app.py
- FLASK_RUN_HOST=0.0.0.0
- FLASK_ENV=production
- MP3_ROOT=/mp3_root
ports:
- "5000:5000"
command: >
sh -c "pip install -r requirements.txt && flask run"