API_SERVER_DOMAIN will always be set now

This commit is contained in:
Girish Ramakrishnan 2022-07-24 09:50:50 +02:00
parent 3dc1454fd7
commit 7e29cf3ca6
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ mkdir -p /app/data/data /run/minio/config /run/minio/certs
source /app/data/env.sh source /app/data/env.sh
# https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL # https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL
[[ -n "${API_SERVER_DOMAIN:-}" ]] && export MINIO_SERVER_URL="https://${API_SERVER_DOMAIN}" export MINIO_SERVER_URL="https://${API_SERVER_DOMAIN}"
export MINIO_BROWSER_REDIRECT_URL="https://${CLOUDRON_APP_DOMAIN}" export MINIO_BROWSER_REDIRECT_URL="https://${CLOUDRON_APP_DOMAIN}"
if [[ ! -d /app/data/mc_config ]]; then if [[ ! -d /app/data/mc_config ]]; then