use php base64 encodie
This commit is contained in:
parent
8be1983afa
commit
6b633189b7
@ -11,7 +11,8 @@ RUN apk add --no-cache \
|
|||||||
nextcloud-files_sharing \
|
nextcloud-files_sharing \
|
||||||
nextcloud-files_texteditor \
|
nextcloud-files_texteditor \
|
||||||
nextcloud-pgsql \
|
nextcloud-pgsql \
|
||||||
php7-opcache
|
php7-opcache \
|
||||||
|
php7-pcntl
|
||||||
|
|
||||||
RUN chown -R nginx:nginx /var/lib/nextcloud
|
RUN chown -R nginx:nginx /var/lib/nextcloud
|
||||||
RUN chown -R nginx:nginx /etc/nextcloud
|
RUN chown -R nginx:nginx /etc/nextcloud
|
||||||
|
@ -47,7 +47,7 @@ s6-setuidgid nginx ./occ config:app:set --value "$LDAP_LOGIN_FILTER" user_ldap l
|
|||||||
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_TLS" user_ldap ldap_tls
|
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_TLS" user_ldap ldap_tls
|
||||||
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_HOST" user_ldap ldap_host
|
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_HOST" user_ldap ldap_host
|
||||||
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_BIND_USER" user_ldap ldap_dn
|
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_BIND_USER" user_ldap ldap_dn
|
||||||
s6-setuidgid nginx ./occ config:app:set --value "$(echo $LDAP_BIND_PASSWORD | base64)" user_ldap ldap_agent_password
|
s6-setuidgid nginx ./occ config:app:set --value "$(php -r 'echo base64_encode(getenv(\"LDAP_BIND_PASSWORD\"));')" user_ldap ldap_agent_password
|
||||||
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_GROUP_FILTER" user_ldap ldap_group_filter
|
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_GROUP_FILTER" user_ldap ldap_group_filter
|
||||||
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_USER_DISPLAY_NAME" user_ldap ldap_display_name
|
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_USER_DISPLAY_NAME" user_ldap ldap_display_name
|
||||||
s6-setuidgid nginx ./occ config:app:set --value "${LDAP_PORT:-389}" user_ldap ldap_port
|
s6-setuidgid nginx ./occ config:app:set --value "${LDAP_PORT:-389}" user_ldap ldap_port
|
||||||
|
Loading…
Reference in New Issue
Block a user