homeserver/docker-compose/nextcloud/misc.sh.j2
Michael Grote 7349621184
All checks were successful
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/pr/gitleaks Pipeline was successful
ci/woodpecker/pr/ansible-lint Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline was successful
d
2024-05-31 15:25:58 +02:00

21 lines
932 B
Django/Jinja

#!/bin/bash
# Telefonregion
php occ config:system:set default_phone_region --value="DE"
# https://help.nextcloud.com/t/nextcloud-wont-load-any-mixed-content/13565/3
php occ config:system:set overwriteprotocol --value="https"
php occ config:system:set overwrite.cli.url --value="http://nextcloud.mgrote.net"
# https://docs.nextcloud.com/server/29/admin_manual/configuration_server/background_jobs_configuration.html
php occ config:system:set maintenance_window_start --type=integer --value=1
# disable unused apps
php occ app:disable dashboard firstrunwizard federation federatedfilesharing nextcloud_announcements recommendations circles survey_client user_status weather_status photos
# enable extra apps
php occ app:enable twofactor_totp calendar contacts checksum epubviewer dicomviewer impersonate
# adhoc: docker exec --user www-data nextcloud-app php occ config:system:set trusted_domains 2 --value=docker10.mgrote.net