Chore/improve docker compose (#5784)

This commit is contained in:
Chenhe Gu
2024-07-01 01:11:33 +08:00
committed by GitHub
parent 91da622df5
commit a27462d58b
6 changed files with 55 additions and 148 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
if [ "${HTTPS_ENABLED}" = "true" ]; then
if [ "${NGINX_HTTPS_ENABLED}" = "true" ]; then
# set the HTTPS_CONFIG environment variable to the content of the https.conf.template
HTTPS_CONFIG=$(envsubst < /etc/nginx/https.conf.template)
export HTTPS_CONFIG