fix: use CAMELEER_API_URL env var for server-ui container
All checks were successful
CI / build (push) Successful in 53s
CI / docker (push) Successful in 33s

The nginx template in cameleer3-server-ui uses ${CAMELEER_API_URL} for
the upstream proxy target, not API_URL. The wrong env var name caused
the baked-in default (http://cameleer3-server:8081) to be used, which
doesn't resolve in per-tenant networks where the server is named
cameleer-server-{slug}.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-10 09:16:42 +02:00
parent eaf109549d
commit b4f9277220
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -25,3 +25,4 @@ Thumbs.db
# Generated by postinstall from @cameleer/design-system
ui/public/favicon.svg
docker/runtime-base/agent.jar
.gitnexus

View File

@@ -211,7 +211,7 @@ public class DockerTenantProvisioner implements TenantProvisioner {
List<String> env = List.of(
"BASE_PATH=" + prefix,
"API_URL=http://" + serverName + ":8081"
"CAMELEER_API_URL=http://" + serverName + ":8081"
);
// Primary network = tenant network (can reach server via DNS)