From 816689acdfb7ac9e2bff90e22292eb631403e4d7 Mon Sep 17 00:00:00 2001 From: cami Date: Wed, 14 Jul 2021 17:13:03 +0200 Subject: [PATCH] Test the behaviour of the prod-containers locally --- test-prod-containers.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test-prod-containers.yml diff --git a/test-prod-containers.yml b/test-prod-containers.yml new file mode 100644 index 0000000..b4708fa --- /dev/null +++ b/test-prod-containers.yml @@ -0,0 +1,18 @@ +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: 5000 + HOST: "0.0.0.0" -- 2.45.2