Bachelorthesis_Code/test-prod-containers.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

29 lines
699 B
YAML

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"
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