From 5332feb5d3e13b1e54d74a8614d30f56a671d37d Mon Sep 17 00:00:00 2001 From: "Luis Gustavo S. Barreto" Date: Mon, 1 Jun 2026 13:54:30 -0300 Subject: [PATCH] fix(docker): pass web endpoints envs to enterprise api service The api-enterprise service registers the web endpoint and legacy tunnel routes, gated by SHELLHUB_WEB_ENDPOINTS. The unified architecture merge dropped the cloud service that carried these envs, and the later overlay fix added them to gateway/ssh/ui but missed api. Without them the api never enables the feature, so every web endpoint and tunnel request returns 404 in enterprise deployments even with the flag set elsewhere. Fixes: shellhub-io/shellhub#6393 --- docker-compose.enterprise.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.enterprise.yml b/docker-compose.enterprise.yml index 01a63dda363..196b07339ed 100644 --- a/docker-compose.enterprise.yml +++ b/docker-compose.enterprise.yml @@ -22,6 +22,9 @@ services: - SHELLHUB_OBJECT_STORAGE_BUCKET=${SHELLHUB_OBJECT_STORAGE_BUCKET} - SHELLHUB_OBJECT_STORAGE_ACCESS_KEY=${SHELLHUB_OBJECT_STORAGE_ACCESS_KEY} - SHELLHUB_OBJECT_STORAGE_SECRET_KEY=${SHELLHUB_OBJECT_STORAGE_SECRET_KEY} + # Web endpoints (feature gate read by the enterprise binary) + - SHELLHUB_WEB_ENDPOINTS=${SHELLHUB_WEB_ENDPOINTS} + - SHELLHUB_WEB_ENDPOINTS_DOMAIN=${SHELLHUB_WEB_ENDPOINTS_DOMAIN} secrets: - api_private_key - api_public_key