Files
eamco_deploy/docker-compose.prod.yml
2025-09-04 08:04:03 -04:00

43 lines
955 B
YAML

name: eamco
services:
frontend_office_prod:
restart: on-failure
build:
context: ../eamco_office_frontend
dockerfile: Dockerfile.prod
backend_office_prod:
restart: always
build:
context: ../eamco_office_api
dockerfile: Dockerfile.prod
ports:
# Expose backend on port 9510
- '9510:80'
environment:
- MODE=PRODUCTION
# Your other services remain the same
# ...
# Your other services can stay as they are
money_service_prod:
restart: on-failure
build:
context: ../eamco_money_api
dockerfile: Dockerfile.prod
ports:
- '9513:8000'
command: 'uvicorn main:app --reload --host 0.0.0.0 --port 8000'
auto_prod:
restart: on-failure
build:
context: ../eamco_auto_api
dockerfile: Dockerfile.prod
ports:
- '9514:8000'
command: 'uvicorn main:app --reload --host 0.0.0.0 --port 8000'