23 lines
488 B
YAML
23 lines
488 B
YAML
services:
|
|
backend:
|
|
build:
|
|
context: ./ems-backend
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- ./ems-backend/json-db:/app/json-db
|
|
- ./ems-backend/uploads:/app/uploads
|
|
environment:
|
|
APP_BASE_URL: http://localhost:5173
|
|
frontend:
|
|
build:
|
|
context: ./ems-frontend/ems-monitoring-system
|
|
dockerfile: Dockerfile
|
|
args:
|
|
VITE_API_BASE_URL: /api
|
|
ports:
|
|
- "5173:80"
|
|
depends_on:
|
|
- backend
|