Sets up regular backup maintenance for a restic (S3) backend, and enables global variables for other roles to use for their individual backup. Example found in nextcloud role.
48 lines
1.6 KiB
YAML
48 lines
1.6 KiB
YAML
---
|
|
# set preferred application version
|
|
nextcloud_version: 30-fpm-alpine
|
|
# set preferred postgres version
|
|
nextcloud_db_version: 16-alpine
|
|
|
|
nextcloud_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
|
|
|
nextcloud_use_https: true
|
|
|
|
# the subdomain link nextcloud will be reachable under
|
|
subdomain_alias: files
|
|
|
|
# the following block is required for a basic setup
|
|
nextcloud_app_admin_username: mynextcloudusername
|
|
nextcloud_app_admin_password: mynextcloudpassword
|
|
nextcloud_redis_password: myredispass
|
|
nextcloud_db_username: nextcloud
|
|
nextcloud_db_password: secretnextcloud
|
|
|
|
# run restic backups
|
|
nextcloud_backup_enable: false
|
|
nextcloud_backup_cron: 0 30 3 * * *
|
|
|
|
nextcloud_php_memory_limit: 5G # maximum ram php may use
|
|
nextcloud_php_upload_limit: 15G # maximum size of (web) uploaded files
|
|
|
|
# if you wish to access your nextcloud instance from the reverse proxy
|
|
nextcloud_trusted_domains: "{{ subdomain_alias }}.{{ server_domain }}"
|
|
|
|
# the following block is required *fully* for working smtp
|
|
# nextcloud_smtp_host: smtp.eu.mailgun.org
|
|
nextcloud_smtp_secure: ssl
|
|
nextcloud_smtp_port: 465
|
|
nextcloud_smtp_authtype: LOGIN
|
|
# nextcloud_smtp_username: <smtp-username>
|
|
# nextcloud_smtp_password: <smtp-password>
|
|
nextcloud_smtp_from_address: noreply
|
|
nextcloud_smtp_from_domain: "{{ server_domain }}"
|
|
# the following block is required *fully* for primary object storage
|
|
# nextcloud_s3_host: s3.eu-central-1.wasabisys.com
|
|
# nextcloud_s3_bucket: nextcloud
|
|
# nextcloud_s3_key: <s3-key>
|
|
# nextcloud_s3_secret: <s3-secret>
|
|
# nextcloud_s3_port: 443
|
|
# nextcloud_s3_ssl: true
|
|
# nextcloud_s3_region: eu-central-1
|
|
# nextcloud_s3_usepath_style: true
|