fix: add backend dependency and retry logic to gateway bootstrap

Add depends_on backend service to gateway in docker-compose to ensure backend is available before gateway starts. Refactor gateway-entrypoint.sh to move bootstrap logic into apply_bundle function with error handling, enabling automatic retry on bootstrap failure instead of exiting immediately.
This commit is contained in:
2026-03-17 19:18:35 +01:00
parent 991df88d58
commit 4d687082af
2 changed files with 18 additions and 11 deletions

View File

@@ -55,6 +55,8 @@ services:
build:
context: .
dockerfile: gateway/Dockerfile
depends_on:
- backend
cap_add:
- NET_ADMIN
- SYS_MODULE