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
|
2021-05-26 22:31:38 +00:00
|
|
|
volumes:
|
|
|
|
- "./frontend:/app:z"
|
2021-05-11 00:03:32 +00:00
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
environment:
|
|
|
|
- CHOKIDAR_USEPOLLING=true
|
2021-05-26 22:31:38 +00:00
|
|
|
backend-dev:
|
2021-07-13 18:25:02 +00:00
|
|
|
container_name: backend-dev
|
2021-05-26 22:31:38 +00:00
|
|
|
build:
|
|
|
|
context: ./backend
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
tty: true
|
|
|
|
volumes:
|
2021-06-22 00:26:23 +00:00
|
|
|
- ./backend/src:/app/
|
2021-05-26 22:31:38 +00:00
|
|
|
ports:
|
2021-07-18 21:59:04 +00:00
|
|
|
- 5050:5050
|
2021-05-26 22:31:38 +00:00
|
|
|
environment:
|
2021-06-21 22:58:08 +00:00
|
|
|
DEBUG: "yes"
|
2021-07-18 21:59:04 +00:00
|
|
|
PORT: 5050
|
2021-06-21 22:58:08 +00:00
|
|
|
HOST: "0.0.0.0"
|
2021-07-18 21:59:04 +00:00
|
|
|
behametrics-server:
|
|
|
|
image: registry.gitlab.com/behametrics/server:latest
|
|
|
|
container_name: "behametrics-server"
|
|
|
|
ports:
|
|
|
|
- 5000:5000
|
|
|
|
environment:
|
|
|
|
- MONGO_URI=mongodb://mongodb:27017/behametrics
|
|
|
|
mongodb:
|
2021-07-23 23:08:17 +00:00
|
|
|
image: mongo:4.0.25
|
2021-07-18 21:59:04 +00:00
|
|
|
container_name: "behametrics-mongo"
|
|
|
|
command: mongod --smallfiles
|