system-pri/docker-compose.yaml

26 lines
476 B
YAML
Raw Normal View History

2022-05-23 14:23:22 +02:00
version: '3.3'
services:
backend:
build: ./backend
command: flask run --host 0.0.0.0 --port 5000
env_file:
- ./backend/.env
volumes:
- ./backend:/app
ports:
- "5000:5000"
frontend:
build: ./frontend
volumes:
- ./frontend:/app
- /app/node_modules
depends_on:
- backend
ports:
- "3000:3000"
environment:
- CHOKIDAR_USEPOLLING=true
- REACT_APP_BASE_URL=http://127.0.0.1:5000/api