config issues prod
This commit is contained in:
@@ -44,25 +44,25 @@ services:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# authorize_prod:
|
authorize_prod:
|
||||||
# restart: on-failure
|
restart: on-failure
|
||||||
# build:
|
build:
|
||||||
# context: ../eamco_authorize
|
context: ../eamco_authorize
|
||||||
# dockerfile: Dockerfile.prod
|
dockerfile: Dockerfile.prod
|
||||||
# volumes:
|
volumes:
|
||||||
# - ../eamco_authorize:/app
|
- ../eamco_authorize:/app
|
||||||
# ports:
|
ports:
|
||||||
# - '9516:8000'
|
- '9516:8000'
|
||||||
# command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|
||||||
|
|
||||||
# voipms_prod:
|
voipms_prod:
|
||||||
# restart: on-failure
|
restart: on-failure
|
||||||
# build:
|
build:
|
||||||
# context: ../eamco_voipms
|
context: ../eamco_voipms
|
||||||
# dockerfile: Dockerfile.prod
|
dockerfile: Dockerfile.prod
|
||||||
# volumes:
|
volumes:
|
||||||
# - ../eamco_voipms:/app
|
- ../eamco_voipms:/app
|
||||||
# ports:
|
ports:
|
||||||
# - '9517:8000'
|
- '9517:8000'
|
||||||
# command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|||||||
54
dockercomposeforserver.yml
Normal file
54
dockercomposeforserver.yml
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
# 'version' attribute is removed as it's obsolete.
|
||||||
|
# 'name' attribute is also managed by Compose Manager, so we can remove it.
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
frontend_office_prod:
|
||||||
|
restart: on-failure
|
||||||
|
image: anekdotin/eamco-frontend_office_prod:latest
|
||||||
|
ports:
|
||||||
|
- '9511:80'
|
||||||
|
|
||||||
|
backend_office_prod:
|
||||||
|
restart: on-failure
|
||||||
|
image: anekdotin/eamco-backend_office_prod:latest
|
||||||
|
ports:
|
||||||
|
- '9510:80'
|
||||||
|
environment:
|
||||||
|
- MODE=PRODUCTION
|
||||||
|
|
||||||
|
auto_service_prod:
|
||||||
|
restart: on-failure
|
||||||
|
image: anekdotin/eamco-auto_prod:latest
|
||||||
|
ports:
|
||||||
|
- '9514:8000'
|
||||||
|
environment:
|
||||||
|
- MODE=PRODUCTION
|
||||||
|
command: 'uvicorn main:app --host 0.0.0.0 --port 8000'
|
||||||
|
|
||||||
|
money_service_prod:
|
||||||
|
restart: on-failure
|
||||||
|
image: anekdotin/eamco-money_service_prod:latest
|
||||||
|
ports:
|
||||||
|
- '9513:8000'
|
||||||
|
command: 'uvicorn main:app --host 0.0.0.0 --port 8000'
|
||||||
|
|
||||||
|
|
||||||
|
authorize_prod:
|
||||||
|
restart: on-failure
|
||||||
|
image: anekdotin/eamco-authorize_prod:latest
|
||||||
|
environment:
|
||||||
|
- MODE=PRODUCTION
|
||||||
|
ports:
|
||||||
|
- '9516:8000'
|
||||||
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|
||||||
|
|
||||||
|
voipms_prod:
|
||||||
|
restart: on-failure
|
||||||
|
image: anekdotin/eamco-voipms_prod:latest
|
||||||
|
environment:
|
||||||
|
- MODE=PRODUCTION
|
||||||
|
ports:
|
||||||
|
- '9517:8000'
|
||||||
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
Reference in New Issue
Block a user