Stringify vars - fix var wrong in doc

This commit is contained in:
Elias Hackradt 2021-07-11 22:34:38 +02:00
parent b6f66e8e25
commit 9272b4fa7b
No known key found for this signature in database
GPG Key ID: 32B038A64E6697B1
1 changed files with 5 additions and 5 deletions

View File

@ -15,15 +15,15 @@ if [[ ! -f /app/data/env.sh ]]; then
echo -e "MINIO_BROWSER_REDIRECT_URI=$(echo $CLOUDRON_APP_ORIGIN)" >> /app/data/env.sh echo -e "MINIO_BROWSER_REDIRECT_URI=$(echo $CLOUDRON_APP_ORIGIN)" >> /app/data/env.sh
# https://github.com/minio/minio/blob/master/docs/sts/ldap.md # https://github.com/minio/minio/blob/master/docs/sts/ldap.md
# (address) AD/LDAP server address e.g. "myldapserver.com:636" # (address) AD/LDAP server address e.g. "myldapserver.com:636"
echo -e "MINIO_IDENTITY_LDAP_SERVER_ADDR*=$(echo $CLOUDRON_LDAP_URL)" >> /app/data/env.sh echo -e "MINIO_IDENTITY_LDAP_SERVER_ADDR='$(echo $CLOUDRON_LDAP_URL)'" >> /app/data/env.sh
# (string) DN for LDAP read-only service account used to perform DN and group lookups # (string) DN for LDAP read-only service account used to perform DN and group lookups
echo -e "MINIO_IDENTITY_LDAP_LOOKUP_BIND_DN=$(echo $CLOUDRON_LDAP_BIND_DN)" >> /app/data/env.sh echo -e "MINIO_IDENTITY_LDAP_LOOKUP_BIND_DN='$(echo $CLOUDRON_LDAP_BIND_DN)'" >> /app/data/env.sh
# (string) Password for LDAP read-only service account used to perform DN and group lookups # (string) Password for LDAP read-only service account used to perform DN and group lookups
echo -e "MINIO_IDENTITY_LDAP_LOOKUP_BIND_PASSWORD=$(echo $CLOUDRON_LDAP_BIND_PASSWORD)" >> /app/data/env.sh echo -e "MINIO_IDENTITY_LDAP_LOOKUP_BIND_PASSWORD='$(echo $CLOUDRON_LDAP_BIND_PASSWORD)'" >> /app/data/env.sh
# (string) Base LDAP DN to search for user DN # (string) Base LDAP DN to search for user DN
echo -e "MINIO_IDENTITY_LDAP_USER_DN_SEARCH_BASE_DN=$(echo $CLOUDRON_LDAP_USERS_BASE_DN)" >> /app/data/env.sh echo -e "MINIO_IDENTITY_LDAP_USER_DN_SEARCH_BASE_DN='$(echo $CLOUDRON_LDAP_USERS_BASE_DN)'" >> /app/data/env.sh
# (string) Search filter to lookup user DN # (string) Search filter to lookup user DN
echo -e "MINIO_IDENTITY_LDAP_USER_DN_SEARCH_FILTER=(&(objectclass=user)(|(username=%uid)(mail=%uid)))" >> /app/data/env.sh echo -e "MINIO_IDENTITY_LDAP_USER_DN_SEARCH_FILTER='(&(objectclass=user)(|(username=%uid)(mail=%uid)))'" >> /app/data/env.sh
fi fi
source /app/data/env.sh source /app/data/env.sh