.env.example is improved, comments added. docker-compose-prod.yaml is replaced with docker-compose.yaml, development version is docker-compose.override.yaml now
Build and Push Docker Image / build-and-push-backend (pull_request) Successful in 21m4s
Build and Push Docker Image / build-and-push-frontend (pull_request) Successful in 52s
Build and Push Docker Image / notify-deployment-server (pull_request) Successful in 13s

This commit is contained in:
2026-08-05 09:52:23 +05:00
parent a028b875fb
commit 7f2b82aae0
4 changed files with 63 additions and 47 deletions
+8 -16
View File
@@ -1,29 +1,21 @@
services:
backend:
build:
context: .
dockerfile: web/backend/Dockerfile
image: git.vmn.su/max/audio_splitter_backend:latest
ports:
- "8000:8000"
- "${BACKEND_PORT:-8000}:8000"
volumes:
- /tmp/audio_splitter_web:/tmp/audio_splitter_web # Bind mount
# 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=1
- DEBUG=${DEBUG:-0}
restart: unless-stopped
frontend:
build:
context: ./web/frontend
dockerfile: Dockerfile
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
- "${FRONTEND_PORT:-5173}:80"
depends_on:
- backend
restart: unless-stopped