Ci cd merge request #2

Merged
max merged 12 commits from ci-cd into main 2026-08-05 08:57:47 +04:00
2 changed files with 10 additions and 4 deletions
Showing only changes of commit d1a166a0f1 - Show all commits
+3
View File
@@ -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
+7 -4
View File
@@ -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: