ansible-role-nextcloud-docker/defaults/main.yml

29 lines
1.2 KiB
YAML

---
# container
nc_app_host: nextcloud
nc_nginx_host: nextcloud-nginx
# commands
nextcloud_occ_cmd: "docker-compose run --user www-data --rm {{ nextcloud_container_hostname }} php occ"
nextcloud_app_install: "{{ nextcloud_occ_cmd }} app:install "
nextcloud_app_list: "{{ nextcloud_occ_cmd }} app:list"
nextcloud_config_set: "{{ nextcloud_occ_cmd }} config:system:set "
nextcloud_config_get: "{{ nextcloud_occ_cmd }} config:system:get "
nextcloud_config_import: "{{ nextcloud_occ_cmd }} config:import "
nextcloud_settings:
- {param: "settings default_phone_region", value: "DE", options: "--no-interaction"}
- {param: "trusted_domains 1", value: "localhost", options: ""}
- {param: "trusted_domains 2", value: "{{ nextcloud_prefix }}.{{ domain }}", options: ""}
- {param: "overwriteprotocol", value: "https", options: ""}
- {param: "overwritehost", value: "{{ nextcloud_prefix }}.{{ domain }}", options: ""}
- {param: "overwrite.cli.url", value: "https:\/\/{{ nextcloud_prefix }}.{{ domain }}", options: ""}
- {param: "trusted_proxies", value: "{{ nc_app_host }}", options: ""}
# apps
nextcloud_apps:
- onlyoffice
- end_to_end_encryption
- deck