Ci cd merge request #2
@@ -3,6 +3,9 @@ DEBUG=0
|
||||
MAX_UPLOAD_SIZE_MB=500
|
||||
TEMP_DIR=/tmp/audio_splitter_web
|
||||
CLEANUP_AFTER_SECONDS=3600
|
||||
BACKEND_DATA_VOLUME=/tmp/audio_splitter_web
|
||||
BACKEND_PORT=8000
|
||||
|
||||
# Frontend (development)
|
||||
VITE_BACKEND_URL=http://localhost:8000
|
||||
FRONTEND_PORT=5173
|
||||
|
||||
@@ -2,9 +2,9 @@ services:
|
||||
backend:
|
||||
image: git.vmn.su/max/audio_splitter_backend:latest
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "${BACKEND_PORT}:8000"
|
||||
volumes:
|
||||
- /tmp/audio_splitter_web:/tmp/audio_splitter_web # Bind mount
|
||||
- "${BACKEND_DATA_VOLUME}:/tmp/audio_splitter_web"
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
- DEBUG=1
|
||||
@@ -13,13 +13,16 @@ services:
|
||||
frontend:
|
||||
image: git.vmn.su/max/audio_splitter_frontend:latest
|
||||
ports:
|
||||
- "5173:80"
|
||||
- "${FRONTEND_PORT}:80"
|
||||
volumes:
|
||||
- ./web/frontend:/app
|
||||
- /app/node_modules
|
||||
- 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:
|
||||
|
||||
Reference in New Issue
Block a user