fix(devops): enable OpenBao in Swarm and fix healthchecks
- Enable OpenBao + init sidecar in Swarm compose (was commented out) - Fix healthcheck to accept uninitialized/sealed vault states (add ?uninitcode=200&sealedcode=200 to /v1/sys/health) - Replace nc-based healthcheck with wget in dev compose - Add ORCHESTRATOR_URL env var to API service in Swarm compose - Uncomment OpenBao volumes in Swarm compose The healthcheck was returning HTTP 501 for uninitialized vault, causing Swarm to restart OpenBao before init sidecar could run. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,7 @@ services:
|
||||
- wget
|
||||
- --spider
|
||||
- --quiet
|
||||
- http://localhost:8200/v1/sys/health?standbyok=true
|
||||
- http://localhost:8200/v1/sys/health?standbyok=true&uninitcode=200&sealedcode=200
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user