Files
formeleon/docker-compose.yml
T
br 1dc0d9588f
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Has been skipped
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Successful in 4s
typo
2026-08-03 17:50:14 +02:00

22 lines
607 B
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: "${APP_NAME:-formeleon}"
ports:
- "${PORT:-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
- ./instance:/app/instance
- ./logs:/app/logs
# - ./formeleon.db:/app/formeleon.db
env_file:
- .env
restart: unless-stopped