27 lines
557 B
YAML
27 lines
557 B
YAML
services:
|
|
backend:
|
|
build:
|
|
context: .
|
|
dockerfile: backend/Dockerfile
|
|
container_name: vplatform-backend
|
|
environment:
|
|
CORS_ORIGINS: http://localhost:8451,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:
|
|
- "8451:80"
|
|
restart: unless-stopped
|