Bachelorthesis_Code/docker-compose.yml

41 lines
874 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:
- 5050:5050
environment:
2021-06-21 22:58:08 +00:00
DEBUG: "yes"
PORT: 5050
2021-06-21 22:58:08 +00:00
HOST: "0.0.0.0"
behametrics-server:
image: registry.gitlab.com/behametrics/server:latest
container_name: "behametrics-server"
ports:
- 5000:5000
environment:
- MONGO_URI=mongodb://mongodb:27017/behametrics
mongodb:
image: mongo:4.0.1
container_name: "behametrics-mongo"
command: mongod --smallfiles