fix(docker): drop dead HONCHO_UPSTREAM and same-origin default
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.
This commit is contained in:
@@ -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.
|
# --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
|
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.
|
# Empty default → clean first run (configure the instance in Settings). Override per
|
||||||
ENV HONCHO_UPSTREAM=http://api:8000 \
|
# deploy to seed the first instance; the browser routes via /api with an
|
||||||
OPENCONCHO_DEFAULT_HONCHO_URL=same-origin
|
# X-Honcho-Upstream header. Optional OPENCONCHO_UPSTREAM_ALLOWLIST guards the proxy.
|
||||||
|
ENV OPENCONCHO_DEFAULT_HONCHO_URL=""
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user