Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

39 строки
2.4 KiB

  1. matrix_postgres_backup_enabled: false
  2. matrix_postgres_backup_connection_hostname: "matrix-postgres"
  3. matrix_postgres_backup_connection_port: 5432
  4. matrix_postgres_backup_connection_username: "matrix"
  5. matrix_postgres_backup_connection_password: ""
  6. matrix_postgres_backup_extra_opts: "-Z9 --schema=public --blobs"
  7. matrix_postgres_backup_schedule: "@daily"
  8. matrix_postgres_backup_keep_days: "7"
  9. matrix_postgres_backup_keep_weeks: "4"
  10. matrix_postgres_backup_keep_months: "12"
  11. matrix_postgres_backup_healthcheck_port: "8080"
  12. matrix_postgres_backup_db_list: ""
  13. matrix_postgres_backup_path: "{{ matrix_base_data_path }}/postgres-backup"
  14. matrix_postgres_backup_databases: ""
  15. matrix_postgres_base_path: "{{ matrix_base_data_path }}/postgres"
  16. matrix_postgres_data_path: "{{ matrix_postgres_base_path }}/data"
  17. matrix_postgres_backup_architecture: amd64
  18. # matrix_postgres_docker_image_suffix controls whether we use Alpine-based images (`-alpine`) or the normal Debian-based images.
  19. # Alpine-based Postgres images are smaller and we usually prefer them, but they don't work on ARM32 (tested on a Raspberry Pi 3 running Raspbian 10.7).
  20. # On ARM32, `-alpine` images fail with the following error:
  21. # > LOG: startup process (PID 37) was terminated by signal 11: Segmentation fault
  22. matrix_postgres_backup_docker_image_suffix: "{{ '-alpine' if matrix_postgres_backup_architecture in ['amd64', 'arm64'] else '' }}"
  23. matrix_postgres_backup_docker_image_v9: "docker.io/prodrigestivill/postgres-backup-local:9.6{{ matrix_postgres_backup_docker_image_suffix }}"
  24. matrix_postgres_backup_docker_image_v10: "docker.io/prodrigestivill/postgres-backup-local:10{{ matrix_postgres_backup_docker_image_suffix }}"
  25. matrix_postgres_backup_docker_image_v11: "docker.io/prodrigestivill/postgres-backup-local:11{{ matrix_postgres_backup_docker_image_suffix }}"
  26. matrix_postgres_backup_docker_image_v12: "docker.io/prodrigestivill/postgres-backup-local:12{{ matrix_postgres_backup_docker_image_suffix }}"
  27. matrix_postgres_backup_docker_image_v13: "docker.io/prodrigestivill/postgres-backup-local:13{{ matrix_postgres_backup_docker_image_suffix }}"
  28. matrix_postgres_backup_docker_image_latest: "{{ matrix_postgres_backup_docker_image_v13 }}"
  29. # This variable is assigned at runtime. Overriding its value has no effect.
  30. matrix_postgres_backup_docker_image_to_use: '{{ matrix_postgres_backup_docker_image_latest }}'
  31. matrix_postgres_backup_docker_image_force_pull: "{{ matrix_postgres_backup_docker_image_to_use.endswith(':latest') }}"