Bachelorthesis_Code/docker-compose.prod.yml
cami 8bb37bbc21
All checks were successful
continuous-integration/drone/push Build is passing
Updated to upstream
2021-07-24 02:11:17 +02:00

27 lines
673 B
YAML

version: '3.7'
services:
frontend-prod:
image: caminsha/bt-frontend
container_name: frontend-prod
ports:
- 3000:80
backend-prod:
image: caminsha/bt-backend
container_name: backend-prod
volumes:
- "./database.db:/app/database.db:z"
environment:
DEBUG: "no"
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