major claude changes
This commit is contained in:
@@ -15,15 +15,15 @@ services:
|
||||
context: ../eamco_office_api
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
# Expose backend on port 9510
|
||||
- '9510:80'
|
||||
environment:
|
||||
- MODE=PRODUCTION
|
||||
- POSTGRES_USERNAME=${POSTGRES_USERNAME}
|
||||
- POSTGRES_PW=${POSTGRES_PW}
|
||||
- POSTGRES_SERVER=${POSTGRES_SERVER}
|
||||
- POSTGRES_DBNAME=${POSTGRES_DBNAME}
|
||||
- SECRET_KEY=${SECRET_KEY}
|
||||
|
||||
# Your other services remain the same
|
||||
# ...
|
||||
|
||||
# Your other services can stay as they are
|
||||
money_service_prod:
|
||||
restart: on-failure
|
||||
build:
|
||||
@@ -31,7 +31,13 @@ services:
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
- '9513:8000'
|
||||
command: 'uvicorn main:app --reload --host 0.0.0.0 --port 8000'
|
||||
environment:
|
||||
- MODE=PRODUCTION
|
||||
- POSTGRES_USERNAME=${POSTGRES_USERNAME}
|
||||
- POSTGRES_PW=${POSTGRES_PW}
|
||||
- POSTGRES_SERVER=${POSTGRES_SERVER}
|
||||
- POSTGRES_DBNAME=${POSTGRES_DBNAME}
|
||||
command: 'uvicorn main:app --host 0.0.0.0 --port 8000 --workers 2'
|
||||
|
||||
auto_prod:
|
||||
restart: on-failure
|
||||
@@ -40,9 +46,13 @@ services:
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
- '9514:8000'
|
||||
command: 'uvicorn main:app --reload --host 0.0.0.0 --port 8000'
|
||||
|
||||
|
||||
environment:
|
||||
- MODE=PRODUCTION
|
||||
- POSTGRES_USERNAME=${POSTGRES_USERNAME}
|
||||
- POSTGRES_PW=${POSTGRES_PW}
|
||||
- POSTGRES_SERVER=${POSTGRES_SERVER}
|
||||
- POSTGRES_DBNAME=${POSTGRES_DBNAME}
|
||||
command: 'uvicorn main:app --host 0.0.0.0 --port 8000 --workers 2'
|
||||
|
||||
authorize_prod:
|
||||
restart: on-failure
|
||||
@@ -53,8 +63,15 @@ services:
|
||||
- ../eamco_authorize:/app
|
||||
ports:
|
||||
- '9516:8000'
|
||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||
|
||||
environment:
|
||||
- MODE=PRODUCTION
|
||||
- AUTHORIZE_API_LOGIN_ID=${AUTHORIZE_API_LOGIN_ID}
|
||||
- AUTHORIZE_TRANSACTION_KEY=${AUTHORIZE_TRANSACTION_KEY}
|
||||
- POSTGRES_USERNAME=${POSTGRES_USERNAME}
|
||||
- POSTGRES_PW=${POSTGRES_PW}
|
||||
- POSTGRES_SERVER=${POSTGRES_SERVER}
|
||||
- POSTGRES_DBNAME=${POSTGRES_DBNAME}
|
||||
command: 'uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers 2'
|
||||
|
||||
voipms_prod:
|
||||
restart: on-failure
|
||||
@@ -65,8 +82,19 @@ services:
|
||||
- ../eamco_voipms:/app
|
||||
ports:
|
||||
- '9517:8000'
|
||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||
|
||||
environment:
|
||||
- MODE=PRODUCTION
|
||||
- POSTGRES_USERNAME=${POSTGRES_USERNAME}
|
||||
- POSTGRES_PW=${POSTGRES_PW}
|
||||
- POSTGRES_SERVER=${POSTGRES_SERVER}
|
||||
- POSTGRES_DBNAME=${POSTGRES_DBNAME}
|
||||
- VOIPMS_API_USERNAME=${VOIPMS_API_USERNAME}
|
||||
- VOIPMS_API_PASSWORD=${VOIPMS_API_PASSWORD}
|
||||
- TARGET_DID=${TARGET_DID}
|
||||
- TARGET_SIP_ACCOUNT=${TARGET_SIP_ACCOUNT}
|
||||
- TARGET_CELLPHONE_1=${TARGET_CELLPHONE_1}
|
||||
- TARGET_CELLPHONE_2=${TARGET_CELLPHONE_2}
|
||||
command: 'uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers 2'
|
||||
|
||||
address_checker_prod:
|
||||
restart: on-failure
|
||||
|
||||
Reference in New Issue
Block a user