Files
formeleon/docker-compose.yml
T
2026-08-03 13:38:11 +02:00

21 lines
554 B
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: formeleon-app
ports:
- "5000:5000"
volumes:
# Mount entire project directory for hot-reload in development
# Exclude the virtual environment if it exists locally to prevent conflicts with container venv
- ./:/app
- /app/venv
# Persistent data volumes mapping to host
# - ./data:/app/data
- ./logs:/app/logs
# - ./formeleon.db:/app/formeleon.db
env_file:
- .env
restart: unless-stopped