29 lines
547 B
YAML
29 lines
547 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
frontend-dev:
|
|
container_name: frontend-dev
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
tty: true
|
|
volumes:
|
|
- "./frontend:/app:z"
|
|
ports:
|
|
- 3000:3000
|
|
environment:
|
|
- CHOKIDAR_USEPOLLING=true
|
|
backend-dev:
|
|
container_name: backend-dev
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
tty: true
|
|
volumes:
|
|
- ./backend/src:/app/
|
|
ports:
|
|
- 5000:5000
|
|
environment:
|
|
DEBUG: "yes"
|
|
PORT: 5000
|
|
HOST: "0.0.0.0"
|