From abc0af3918968d459cec411528338637a26b63ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Tue, 18 Oct 2022 07:52:13 +0200 Subject: [PATCH] entrypoint: default SNIKKET_WEB_SITE_NAME to SNIKKET_SITE_NAME The documentation only talks about SNIKKET_SITE_NAME, and users thus do not know that they must set SNIKKET_WEB_SITE_NAME to make their site name appear on the portal. --- docker/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 8fcae91..b617ee6 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -1,6 +1,9 @@ #!/bin/sh export SNIKKET_WEB_DOMAIN="$SNIKKET_DOMAIN" +if [ -n "${SNIKKET_SITE_NAME:-}" ]; then + export SNIKKET_WEB_SITE_NAME="$SNIKKET_SITE_NAME" +fi export SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_INTERFACE="${SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_INTERFACE-127.0.0.1}" export SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_PORT="${SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_PORT-5765}"