26 lines
476 B
YAML
26 lines
476 B
YAML
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
|