Skip to content

Commit

Permalink
Merge pull request #140 from snikket-im/feature/site-name-consistency
Browse files Browse the repository at this point in the history
entrypoint: default SNIKKET_WEB_SITE_NAME to SNIKKET_SITE_NAME
  • Loading branch information
horazont authored Mar 28, 2023
2 parents 0aff4fc + abc0af3 commit 13bc283
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -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}"
Expand Down

0 comments on commit 13bc283

Please sign in to comment.