ShiftBudget-Research-Lab / docker-compose.yml
husnainbinmunawar's picture
Publish ShiftBudget research project
51efbb1 verified
Raw History Blame Contribute Delete
519 Bytes
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: