diff --git a/Dockerfile b/Dockerfile index 08cab25..7502135 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ RUN apk add --no-cache \ nextcloud-files_sharing \ nextcloud-files_texteditor \ nextcloud-pgsql \ - php7-opcache + php7-opcache \ + php7-pcntl RUN chown -R nginx:nginx /var/lib/nextcloud RUN chown -R nginx:nginx /etc/nextcloud diff --git a/rootfs/etc/cont-init.d/00-nextcloud b/rootfs/etc/cont-init.d/00-nextcloud index 238543d..8c1ed51 100644 --- a/rootfs/etc/cont-init.d/00-nextcloud +++ b/rootfs/etc/cont-init.d/00-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_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 "$(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_USER_DISPLAY_NAME" user_ldap ldap_display_name s6-setuidgid nginx ./occ config:app:set --value "${LDAP_PORT:-389}" user_ldap ldap_port