Updated dockerfiles working

This commit is contained in:
2024-05-16 14:38:07 -04:00
parent cce46389c7
commit 2d05c0a468
4 changed files with 142 additions and 54 deletions

52
docker-compose.build.yml Normal file
View File

@@ -0,0 +1,52 @@
version: '3.8'
name: eamco
services:
frontend_office_prod:
restart: on-failure
build:
context: ../eamco_frontend
dockerfile: Dockerfile.prod
ports:
- '9511:80'
backend_office_prod:
restart: always
build:
context: ../eamco_office_api
dockerfile: Dockerfile.prod
ports:
- '9510:4056'
command: 'python3 app.py --host 0.0.0.0'
print_service_prod:
restart: on-failure
build:
context: ../eamco_print_service
dockerfile: Dockerfile
ports:
- '8000:9512'
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
money_service_prod:
restart: on-failure
build:
context: ../eamco_money_service
dockerfile: Dockerfile
ports:
- '9513:8001'
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8001'
frontend_driver_prod:
restart: on-failure
build:
context: ../eamco_driver_frontend
dockerfile: Dockerfile
ports:
- '9000:9000'