update readme
This commit is contained in:
parent
4d3740e921
commit
bcd8f4fba4
@ -1,8 +1,11 @@
|
|||||||
[Nextcloud](https://nextcloud.com/) with ldap authentication (needs a postgres database).
|
[Nextcloud](https://nextcloud.com/) with ldap authentication (needs a postgres database).
|
||||||
|
|
||||||
|
Seperately installed apps are not persistent because there is no possibility of
|
||||||
|
setting the app_path with occ.
|
||||||
|
|
||||||
# Volumes
|
# Volumes
|
||||||
- `/var/lib/nextcloud/data`
|
- `/var/lib/nextcloud/data`
|
||||||
- `/var/lib/nextcloud/apps`
|
- `/etc/nextcloud/`
|
||||||
|
|
||||||
# Environment Variables
|
# Environment Variables
|
||||||
## DOMAIN
|
## DOMAIN
|
||||||
|
@ -3,8 +3,6 @@ set -ex
|
|||||||
|
|
||||||
cd /usr/share/webapps/nextcloud
|
cd /usr/share/webapps/nextcloud
|
||||||
|
|
||||||
#PGPASSWORD=$DB_PASSWORD psql -h $DB_HOST -U $DB_USER -d $DB_NAME -c "SELECT EXISTS (SELECT 1 FROM information_schema.tables WHERE table_name = '${DB_TABLE_PREFIX}appconfig')" | grep f
|
|
||||||
|
|
||||||
if [ ! -f /var/lib/nextcloud/data/.installed ]; then
|
if [ ! -f /var/lib/nextcloud/data/.installed ]; then
|
||||||
s6-setuidgid nginx ./occ maintenance:install \
|
s6-setuidgid nginx ./occ maintenance:install \
|
||||||
--database=pgsql \
|
--database=pgsql \
|
||||||
@ -101,5 +99,3 @@ s6-setuidgid nginx ./occ config:app:set --value "0" user_ldap ldap_turn_on_pwd_c
|
|||||||
s6-setuidgid nginx ./occ config:app:set --value "" user_ldap ldap_dynamic_group_member_url
|
s6-setuidgid nginx ./occ config:app:set --value "" user_ldap ldap_dynamic_group_member_url
|
||||||
s6-setuidgid nginx ./occ config:app:set --value "" user_ldap ldap_default_ppolicy_dn
|
s6-setuidgid nginx ./occ config:app:set --value "" user_ldap ldap_default_ppolicy_dn
|
||||||
s6-setuidgid nginx ./occ config:app:set --value "1" user_ldap ldap_configuration_active
|
s6-setuidgid nginx ./occ config:app:set --value "1" user_ldap ldap_configuration_active
|
||||||
|
|
||||||
sed -i -e "s|'maintenance' => false,|'maintenance' => false,'apps_paths' => array (0 => array ('path' => '/usr/share/webapps/nextcloud/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ('path' => '/var/lib/nextcloud/apps', 'url' => '/apps-appstore', 'writable' => true,),),|g" /etc/nextcloud/config.php
|
|
||||||
|
Loading…
Reference in New Issue
Block a user