Bachelorthesis_Code/test-prod-containers.yml

30 lines
699 B
YAML
Raw Permalink Normal View History

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