2021-07-14 15:13:03 +00:00
|
|
|
version: '3.7'
|
|
|
|
services:
|
|
|
|
frontend-prod:
|
|
|
|
containername: frontend-testing
|
|
|
|
build:
|
|
|
|
context: ./frontend
|
|
|
|
dockerfile: Dockerfile.prod
|
|
|
|
ports:
|
|
|
|
- 3000:80
|
|
|
|
backend-prod:
|
|
|
|
container_name: backend-testing
|
|
|
|
build:
|
|
|
|
context: ./backend
|
|
|
|
dockerfile: Dockerfile.prod
|
|
|
|
environment:
|
|
|
|
DEBUG: "no"
|
2021-07-18 21:59:04 +00:00
|
|
|
PORT: 5050
|
2021-07-14 15:13:03 +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:
|
|
|
|
image: mongo:4.0.1
|
|
|
|
container_name: "behametrics-mongo"
|
|
|
|
command: mongod --smallfiles
|