Bachelorthesis_Code/docker-compose.yml
cami 50b8d4f82e
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Added backend for the analytics stuff..
2021-07-18 23:59:04 +02:00

40 lines
874 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:
- 5050:5050
environment:
DEBUG: "yes"
PORT: 5050
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