Test the behaviour of the prod-containers locally #155
1 changed files with 18 additions and 0 deletions
18
test-prod-containers.yml
Normal file
18
test-prod-containers.yml
Normal file
|
@ -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"
|
Loading…
Reference in a new issue