Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

68 satır
2.4 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 directory should be added to backup
  21. matrix_backup_borg_source: "{{ matrix_base_data_path }}"
  22. # exclude following paths:
  23. matrix_backup_borg_exclude:
  24. - "{{ matrix_synapse_media_store_path }}/local_thumbnails"
  25. - "{{ matrix_synapse_media_store_path }}/remote_thumbnail"
  26. - "{{ matrix_synapse_media_store_path }}/url_cache"
  27. - "{{ matrix_synapse_media_store_path }}/url_cache_thumbnails"
  28. # borg encryption mode, only repokey-* is supported
  29. matrix_backup_borg_encryption: repokey-blake2
  30. # private ssh key used to connect to the borg repo
  31. matrix_backup_borg_ssh_key: ""
  32. # borg ssh command with ssh key
  33. matrix_backup_borg_ssh_command: ssh -o "StrictHostKeyChecking accept-new" -i /etc/borgmatic.d/sshkey
  34. # target repository
  35. matrix_backup_borg_repository: ""
  36. # compression algorithm
  37. matrix_backup_borg_compression: lz4
  38. # archive name format
  39. matrix_backup_borg_name: "matrix-{now:%Y-%m-%d-%H%M%S}"
  40. # retention prefix
  41. matrix_backup_borg_prefix: "matrix-"
  42. # repository passphrase
  43. matrix_backup_borg_passphrase: ""
  44. # retention configuration
  45. matrix_backup_borg_hourly: 0
  46. matrix_backup_borg_daily: 7
  47. matrix_backup_borg_weekly: 4
  48. matrix_backup_borg_monthly: 12
  49. matrix_backup_borg_yearly: 2