fix: make Ops gateway resilient to Synology reboot

This commit is contained in:
DCCONSTRUCTIONS
2026-08-09 13:08:22 +03:00
parent 0f3bf9d8aa
commit d3ab1e3fb7
6 changed files with 353 additions and 17 deletions
+4
View File
@@ -1,6 +1,7 @@
services:
postgres:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_DB: ${POSTGRES_DB:-nodedc_agent_gateway}
POSTGRES_USER: ${POSTGRES_USER:-nodedc_agent_gateway}
@@ -17,6 +18,7 @@ services:
build:
context: .
init: true
restart: unless-stopped
environment:
NODE_ENV: ${NODE_ENV:-production}
HOST: 0.0.0.0
@@ -31,6 +33,8 @@ services:
NODEDC_LAUNCHER_INTERNAL_URL: ${NODEDC_LAUNCHER_INTERNAL_URL:-http://172.22.0.222:18080}
NODEDC_TASKER_INTERNAL_URL: ${NODEDC_TASKER_INTERNAL_URL:-http://172.22.0.222:18090}
NODEDC_ENGINE_INTERNAL_URL: ${NODEDC_ENGINE_INTERNAL_URL:-http://172.22.0.222:3001}
NODEDC_ONTOLOGY_CORE_URL: ${NODEDC_ONTOLOGY_CORE_URL:-http://172.22.0.222:18104}
NODEDC_ONTOLOGY_CORE_ACCESS_TOKEN: ${NODEDC_ONTOLOGY_CORE_ACCESS_TOKEN:-}
NODEDC_INTERNAL_ACCESS_TOKEN: ${NODEDC_INTERNAL_ACCESS_TOKEN}
depends_on:
postgres: