File size: 519 Bytes
51efbb1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | services:
api:
build:
context: .
dockerfile: apps/api/Dockerfile
environment:
SHIFTBUDGET_DATA_DIR: /var/lib/shiftbudget
SHIFTBUDGET_API_ORIGINS: http://localhost:3000
ports:
- "8000:8000"
volumes:
- shiftbudget-data:/var/lib/shiftbudget
web:
build:
context: apps/web
dockerfile: Dockerfile
environment:
NEXT_PUBLIC_API_URL: http://localhost:8000
ports:
- "3000:3000"
depends_on:
- api
volumes:
shiftbudget-data:
|