From a2854ab8ea0a9eec2a06838fb394a0264f7dd80d Mon Sep 17 00:00:00 2001 From: Offending Commit Date: Tue, 2 Jun 2026 13:25:11 -0500 Subject: [PATCH] fix(docker): drop dead HONCHO_UPSTREAM and same-origin default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The published image defaulted OPENCONCHO_DEFAULT_HONCHO_URL=same-origin, but the sentinel was removed — a bare run seeded an invalid "same-origin" base. Default to empty (configure in Settings); HONCHO_UPSTREAM is unused by the new nginx. --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8c15d47..6ac2e92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,9 +37,10 @@ COPY --chown=101:101 docker/nginx.conf.template /etc/nginx/templates/default.con # --chmod=0755 so nginx's docker-entrypoint.d actually executes it. COPY --chown=101:101 --chmod=0755 docker/40-openconcho-config.sh /docker-entrypoint.d/40-openconcho-config.sh -# Defaults target the Honcho service in a typical Compose stack; override per deploy. -ENV HONCHO_UPSTREAM=http://api:8000 \ - OPENCONCHO_DEFAULT_HONCHO_URL=same-origin +# Empty default → clean first run (configure the instance in Settings). Override per +# deploy to seed the first instance; the browser routes via /api with an +# X-Honcho-Upstream header. Optional OPENCONCHO_UPSTREAM_ALLOWLIST guards the proxy. +ENV OPENCONCHO_DEFAULT_HONCHO_URL="" EXPOSE 8080