From fe31691eafa56fc3e858741e398bcb568a5b63cc Mon Sep 17 00:00:00 2001 From: "Pola, Sudhir" Date: Fri, 8 May 2026 19:41:19 +0530 Subject: [PATCH] fix(console): set GIN_MODE=debug to prevent xdg-open panic in container The console service was crash-looping due to the app attempting to launch a browser via xdg-open when GIN_MODE was not set to 'debug'. Since the container runs in a headless environment with no display server, this caused a panic on every startup. Setting GIN_MODE=debug suppresses the launchBrowser goroutine and allows the service to start normally. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index ca46a7d..7401395 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,6 +22,7 @@ services: SECRET_TOKEN: ${VAULT_TOKEN} HTTP_PORT: "8181" LOG_LEVEL: info + GIN_MODE: debug healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:8181/api/v1/health"] interval: 12s