Updated docker-compose file for production use
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
cami 2021-07-13 00:08:36 +02:00
parent 7e77a67aac
commit 1b7aba4a70

View file

@ -1,22 +1,16 @@
version: '3.7' version: '3.7'
services: services:
frontend_bt_prod: frontend_bt:
image: caminsha/bt-frontend
container_name: frontend_bt_prod container_name: frontend_bt_prod
build:
context: ./frontend
dockerfile: Dockerfile.prod
ports: ports:
- 8877:80 - 3000:3000
backend-prod: backend-prod:
image: caminsha/bt-backend
container_name: backend_bt container_name: backend_bt
build:
context: ./backend
dockerfile: Dockerfile.prod
ports: ports:
- 5000:5000 - 5000:5000
environment: environment:
DEBUG: "no" DEBUG: "no"
PORT: 5000 PORT: 5000
HOST: "0.0.0.0" HOST: "0.0.0.0"