Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

69 lines
2.6 KiB

  1. ---
  2. matrix_backup_borg_enabled: false
  3. matrix_backup_borg_container_image_self_build: false
  4. matrix_backup_borg_docker_repo: "https://github.com/borgmatic-collective/docker-borgmatic"
  5. matrix_backup_borg_docker_src_files_path: "{{ matrix_base_data_path }}/borg/docker-src"
  6. matrix_backup_borg_version: latest
  7. matrix_backup_borg_docker_image: "{{ matrix_backup_borg_docker_image_name_prefix }}etke.cc/borgmatic:{{ matrix_backup_borg_version }}"
  8. matrix_backup_borg_docker_image_name_prefix: "{{ 'localhost/' if matrix_backup_borg_container_image_self_build else 'registry.gitlab.com/' }}"
  9. matrix_backup_borg_docker_image_force_pull: "{{ matrix_backup_borg_docker_image.endswith(':latest') }}"
  10. matrix_backup_borg_base_path: "{{ matrix_base_data_path }}/backup-borg"
  11. matrix_backup_borg_config_path: "{{ matrix_backup_borg_base_path }}/config"
  12. # A list of extra arguments to pass to the container
  13. matrix_backup_borg_container_extra_arguments: []
  14. # List of systemd services that matrix-backup-borg.service depends on
  15. matrix_backup_borg_systemd_required_services_list: ['docker.service']
  16. # List of systemd services that matrix-backup-borg.service wants
  17. matrix_backup_borg_systemd_wanted_services_list: []
  18. # systemd calendar configuration for backup job
  19. matrix_backup_borg_schedule: "*-*-* 04:00:00"
  20. # what directories should be added to backup
  21. matrix_backup_borg_location_source_directories:
  22. - "{{ matrix_base_data_path }}"
  23. # target repositories
  24. matrix_backup_borg_location_repositories: []
  25. # exclude following paths:
  26. matrix_backup_borg_location_exclude_patterns:
  27. - "{{ matrix_synapse_media_store_path }}/local_thumbnails"
  28. - "{{ matrix_synapse_media_store_path }}/remote_thumbnail"
  29. - "{{ matrix_synapse_media_store_path }}/url_cache"
  30. - "{{ matrix_synapse_media_store_path }}/url_cache_thumbnails"
  31. # borg encryption mode, only repokey-* is supported
  32. matrix_backup_borg_encryption: repokey-blake2
  33. # private ssh key used to connect to the borg repo
  34. matrix_backup_borg_ssh_key_private: ""
  35. # borg ssh command with ssh key
  36. matrix_backup_borg_storage_ssh_command: ssh -o "StrictHostKeyChecking accept-new" -i /etc/borgmatic.d/sshkey
  37. # compression algorithm
  38. matrix_backup_borg_storage_compression: lz4
  39. # archive name format
  40. matrix_backup_borg_storage_archive_name_format: "matrix-{now:%Y-%m-%d-%H%M%S}"
  41. # repository passphrase
  42. matrix_backup_borg_storage_encryption_passphrase: ""
  43. # retention configuration
  44. matrix_backup_borg_retention_keep_hourly: 0
  45. matrix_backup_borg_retention_keep_daily: 7
  46. matrix_backup_borg_retention_keep_weekly: 4
  47. matrix_backup_borg_retention_keep_monthly: 12
  48. matrix_backup_borg_retention_keep_yearly: 2
  49. # retention prefix
  50. matrix_backup_borg_retention_prefix: "matrix-"