File size: 526 Bytes
6e1a53e |
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 28 29 30 31 |
version: '3.9'
services:
frontend:
build:
context: ui/
dockerfile: Dockerfile
volumes:
- ./ui:/app
- /app/node_modules
ports:
- "3000:3000"
environment:
- NODE_ENV=development
- NEXT_PUBLIC_API_ENDPOINT=http://backend:8000
depends_on:
- backend
backend:
build:
context: api/
dockerfile: Dockerfile
volumes:
- ./api:/app
env_file:
- api/.env
ports:
- "8010:8000"
environment:
- PYTHONUNBUFFERED=1
|