26 lines
608 B
YAML
26 lines
608 B
YAML
services:
|
|
backend:
|
|
image: git.vmn.su/max/audio_splitter_backend:latest
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- /tmp/audio_splitter_web:/tmp/audio_splitter_web # Bind mount
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
- DEBUG=1
|
|
restart: unless-stopped
|
|
|
|
frontend:
|
|
image: git.vmn.su/max/audio_splitter_frontend:latest
|
|
ports:
|
|
- "5173:80"
|
|
volumes:
|
|
- ./web/frontend:/app
|
|
- /app/node_modules
|
|
environment:
|
|
- BACKEND_URL=http://backend:8000
|
|
- VITE_BACKEND_URL=http://backend:8000
|
|
depends_on:
|
|
- backend
|
|
restart: unless-stopped
|