Updated docker-compose file for production use
This commit is contained in:
parent
7e77a67aac
commit
1b7aba4a70
1 changed files with 4 additions and 10 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue