Bachelorthesis_Code/docker-compose.yml

30 lines
547 B
YAML
Raw Normal View History

2021-05-11 00:03:32 +00:00
version: '3.7'
services:
frontend-dev:
2021-07-13 18:25:02 +00:00
container_name: frontend-dev
2021-05-11 00:03:32 +00:00
build:
context: ./frontend
dockerfile: Dockerfile
tty: true
volumes:
- "./frontend:/app:z"
2021-05-11 00:03:32 +00:00
ports:
- 3000:3000
environment:
- CHOKIDAR_USEPOLLING=true
backend-dev:
2021-07-13 18:25:02 +00:00
container_name: backend-dev
build:
context: ./backend
dockerfile: Dockerfile
tty: true
volumes:
- ./backend/src:/app/
ports:
- 5000:5000
environment:
2021-06-21 22:58:08 +00:00
DEBUG: "yes"
PORT: 5000
2021-06-21 22:58:08 +00:00
HOST: "0.0.0.0"