40 lines
875 B
YAML
40 lines
875 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.25
|
|
container_name: "behametrics-mongo"
|
|
command: mongod --smallfiles
|