fix sso healtcheck
This commit is contained in:
@@ -110,10 +110,11 @@ services:
|
||||
ldap-auth:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "node -e \"fetch('http://localhost:3001/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\""]
|
||||
test: ["CMD-SHELL", "node -e \"fetch('http://127.0.0.1:3001/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\""]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
timeout: 10s
|
||||
retries: 12
|
||||
start_period: 120s
|
||||
|
||||
api-gateway:
|
||||
pull_policy: build
|
||||
@@ -143,10 +144,11 @@ services:
|
||||
minio:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "node -e \"fetch('http://localhost:3000/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\""]
|
||||
test: ["CMD-SHELL", "node -e \"fetch('http://127.0.0.1:3000/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\""]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
timeout: 10s
|
||||
retries: 12
|
||||
start_period: 60s
|
||||
|
||||
media-ws:
|
||||
pull_policy: build
|
||||
|
||||
Reference in New Issue
Block a user