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' authorize_prod: restart: on-failure build: context: ../eamco_authorize dockerfile: Dockerfile.prod volumes: - ../eamco_authorize:/app ports: - '9516:8000' command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000' voipms_prod: restart: on-failure build: context: ../eamco_voipms dockerfile: Dockerfile.prod volumes: - ../eamco_voipms:/app ports: - '9517:8000' command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'