Brief-Generator/docker-compose.prod.yml
cami 6a3d510cad
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Change Dockerfiles and docker-compose file
The reason for this change is to reduce the image size for the different containers
2021-09-01 02:20:53 +02:00

21 lines
427 B
YAML

version: '3.7'
services:
frontend-prod:
container_name: frontend-lettergen
build:
context: ./frontend
dockerfile: Dockerfile.prod
ports:
- 127.0.0.1:3000:80
backend-prod:
container_name: backend-lettergen
build:
context: ./backend
dockerfile: Dockerfile.prod
ports:
- 127.0.0.1:5000:5000
environment:
DEBUG: "no"
PORT: 5050
HOST: "0.0.0.0"