Enable docker installs to disable web terminal and/or server scripts

This commit is contained in:
bc24fl 2024-07-26 19:08:40 -04:00 committed by GitHub
parent 090bcf89ac
commit 00c0a6ec60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,8 @@ set -e
: "${APP_HOST:=tactical-frontend}"
: "${REDIS_HOST:=tactical-redis}"
: "${SKIP_UWSGI_CONFIG:=0}"
: "${TRMM_DISABLE_WEB_TERMINAL:=False}"
: "${TRMM_DISABLE_SERVER_SCRIPTS:=False}"
: "${CERT_PRIV_PATH:=${TACTICAL_DIR}/certs/privkey.pem}"
: "${CERT_PUB_PATH:=${TACTICAL_DIR}/certs/fullchain.pem}"
@ -111,6 +113,8 @@ MESH_TOKEN_KEY = '${MESH_TOKEN}'
REDIS_HOST = '${REDIS_HOST}'
MESH_WS_URL = '${MESH_WS_URL}'
ADMIN_ENABLED = False
TRMM_DISABLE_WEB_TERMINAL = '${TRMM_DISABLE_WEB_TERMINAL}'
TRMM_DISABLE_SERVER_SCRIPTS = '${TRMM_DISABLE_SERVER_SCRIPTS}'
EOF
)"