diff --git a/docker-compose/nextcloud/misc.sh.j2 b/docker-compose/nextcloud/misc.sh.j2 index 1a652c8b..501b3ac1 100644 --- a/docker-compose/nextcloud/misc.sh.j2 +++ b/docker-compose/nextcloud/misc.sh.j2 @@ -29,9 +29,12 @@ php occ config:system:set mail_sendmailmode --value="smtp" php occ config:system:set mail_smtphost --value="postfix" php occ config:system:set mail_smtpport --value="25" +# trashbin auto-delete, https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/trashbin_configuration.html +php occ config:system:set trashbin_retention_obligation --value="auto, 21" + # status echo Status php occ status php occ user:list -# adhoc: docker exec --user www-data nextcloud-app php occ config:system:set trusted_domains 2 -- value=docker10.mgrote.net +# adhoc: docker exec --user www-data nextcloud-app php occ config:system:set trusted_domains 2 --value=docker10.mgrote.net