fix: pass mongo env to dashboard cdc worker
This commit is contained in:
parent
6dff58f16f
commit
1aa3365ecb
@ -358,7 +358,7 @@ def build_dashboard_cdc_service_definition(host_name: str) -> dict[str, Any]:
|
||||
"network_mode": "host",
|
||||
"restart": "unless-stopped",
|
||||
"stop_signal": "SIGTERM",
|
||||
"env_file": ["./dashboard-cdc-worker.env"],
|
||||
"env_file": ["./service.env", "./dashboard-cdc-worker.env"],
|
||||
"pull_policy": "always",
|
||||
"working_dir": "/application",
|
||||
"entrypoint": [],
|
||||
|
||||
@ -1411,6 +1411,7 @@ def render_dashboard_cdc_env() -> str:
|
||||
"DASHBOARD_STAT_TIMEZONES=Asia/Riyadh",
|
||||
"DASHBOARD_STORAGE_TIMEZONE=Asia/Riyadh",
|
||||
"REDIS_ENABLED=false",
|
||||
"MONGO_ENABLED=true",
|
||||
"HEALTH_ADDR=:2910",
|
||||
"",
|
||||
]
|
||||
@ -1437,7 +1438,7 @@ def ensure_dashboard_cdc_compose_service(host_name: str) -> dict[str, Any] | Non
|
||||
"network_mode": "host",
|
||||
"restart": "unless-stopped",
|
||||
"stop_signal": "SIGTERM",
|
||||
"env_file": ["./dashboard-cdc-worker.env"],
|
||||
"env_file": ["./service.env", "./dashboard-cdc-worker.env"],
|
||||
"pull_policy": "always",
|
||||
"working_dir": "/application",
|
||||
"entrypoint": [],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user