21 lines
554 B
YAML
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
|