feat: add huly specific envs

This commit is contained in:
veryCrunchy
2024-09-25 03:38:38 +02:00
parent ee4b1406a5
commit 32b2ccefc0
2 changed files with 10 additions and 2 deletions
+5
View File
@@ -14,6 +14,11 @@ SECURE=${SECURE}
HTTP_PORT=${HTTP_PORT}
HTTP_BIND=${HTTP_BIND}
# Huly specific variables
TITLE=${TITLE}
DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE}
LAST_NAME_FIRST=${LAST_NAME_FIRST}
# The following configs are auto-generated by the setup script.
# Please do not manually overwrite.
+5 -2
View File
@@ -79,10 +79,13 @@ else
echo "Run this script with --secret to generate a new secret."
fi
export HTTP_BIND=$HTTP_BIND
export SECURE=$_SECURE
export HOST_ADDRESS=$_HOST_ADDRESS
export SECURE=$_SECURE
export HTTP_PORT=$_HTTP_PORT
export HTTP_BIND=$HTTP_BIND
export TITLE=${TITLE:-Huly}
export DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-en}
export LAST_NAME_FIRST=${LAST_NAME_FIRST:-true}
export HULY_SECRET=$(cat .huly.secret)
envsubst < .template.huly.conf > $CONFIG_FILE