22 lines
615 B
YAML
22 lines
615 B
YAML
services:
|
|
backend:
|
|
image: git.vmn.su/max/audio_splitter_backend:latest
|
|
ports:
|
|
- "${BACKEND_PORT:-8000}:8000"
|
|
volumes:
|
|
# Bind mount for persistent data storage.
|
|
# Set BACKEND_DATA_DIR in .env to point to your data directory.
|
|
- "${BACKEND_DATA_DIR:-/var/lib/audio_splitter_data}:/tmp/audio_splitter_web"
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
- DEBUG=${DEBUG:-0}
|
|
restart: unless-stopped
|
|
|
|
frontend:
|
|
image: git.vmn.su/max/audio_splitter_frontend:latest
|
|
ports:
|
|
- "${FRONTEND_PORT:-5173}:80"
|
|
depends_on:
|
|
- backend
|
|
restart: unless-stopped
|