29 lines
656 B
YAML
29 lines
656 B
YAML
services:
|
|
backend:
|
|
image: git.vmn.su/max/audio_splitter_backend:latest
|
|
ports:
|
|
- "${BACKEND_PORT}:8000"
|
|
volumes:
|
|
- "${BACKEND_DATA_VOLUME}:/tmp/audio_splitter_web"
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
- DEBUG=1
|
|
restart: unless-stopped
|
|
|
|
frontend:
|
|
image: git.vmn.su/max/audio_splitter_frontend:latest
|
|
ports:
|
|
- "${FRONTEND_PORT}:80"
|
|
volumes:
|
|
- ./web/frontend:/app
|
|
- node_modules:/app/node_modules
|
|
environment:
|
|
- BACKEND_URL=http://backend:8000
|
|
- VITE_BACKEND_URL=http://backend:8000
|
|
depends_on:
|
|
- backend
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
node_modules:
|