diff --git a/docker/docker-compose.prod.yml b/docker/docker-compose.prod.yml index 6f5aa5d..3c459a8 100644 --- a/docker/docker-compose.prod.yml +++ b/docker/docker-compose.prod.yml @@ -245,7 +245,7 @@ services: healthcheck: test: - CMD-SHELL - - "wget -qO- --timeout=3 http://127.0.0.1:4096/global/health >/dev/null || curl -fsS http://127.0.0.1:4096/global/health >/dev/null || exit 1" + - 'wget -qO- --timeout=3 --user="${OPENCODE_SERVER_USERNAME:-opencode}" --password="${OPENCODE_SERVER_PASSWORD}" http://127.0.0.1:4096/global/health >/dev/null || exit 1' interval: 30s timeout: 10s retries: 3