mirror of
https://github.com/hcengineering/huly-selfhost.git
synced 2026-09-26 19:44:59 +02:00
feat: add huly specific envs
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user