This commit is contained in:
2026-04-09 08:52:40 +00:00
parent b80e97799f
commit 880f5caf2d
8 changed files with 144 additions and 2 deletions

26
docker-compose.yml Normal file
View File

@@ -0,0 +1,26 @@
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
container_name: vplatform-backend
environment:
CORS_ORIGINS: http://localhost:5173,http://localhost:8080
ports:
- "8000:8000"
volumes:
- ./storage:/app/storage
restart: unless-stopped
frontend:
build:
context: .
dockerfile: frontend/Dockerfile
args:
VITE_API_BASE_URL: ""
container_name: vplatform-frontend
depends_on:
- backend
ports:
- "8080:80"
restart: unless-stopped