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

41 строка
2.6 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_databases: []
  13. matrix_postgres_backup_path: "{{ matrix_base_data_path }}/postgres-backup"
  14. # Specifies where the Postgres data is.
  15. # We use this to autodetect the Postgres version during playbook runtime (by parsing the `PG_VERSION` file contained there).
  16. # You can leave this empty to prevent auto-detection.
  17. matrix_postgres_backup_postgres_data_path: ""
  18. matrix_postgres_backup_architecture: amd64
  19. # matrix_postgres_docker_image_suffix controls whether we use Alpine-based images (`-alpine`) or the normal Debian-based images.
  20. # 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).
  21. # On ARM32, `-alpine` images fail with the following error:
  22. # > LOG: startup process (PID 37) was terminated by signal 11: Segmentation fault
  23. matrix_postgres_backup_docker_image_suffix: "{{ '-alpine' if matrix_postgres_backup_architecture in ['amd64', 'arm64'] else '' }}"
  24. matrix_postgres_backup_docker_image_v9: "{{ matrix_global_registry }}prodrigestivill/postgres-backup-local:9.6{{ matrix_postgres_backup_docker_image_suffix }}"
  25. matrix_postgres_backup_docker_image_v10: "{{ matrix_global_registry }}prodrigestivill/postgres-backup-local:10{{ matrix_postgres_backup_docker_image_suffix }}"
  26. matrix_postgres_backup_docker_image_v11: "{{ matrix_global_registry }}prodrigestivill/postgres-backup-local:11{{ matrix_postgres_backup_docker_image_suffix }}"
  27. matrix_postgres_backup_docker_image_v12: "{{ matrix_global_registry }}prodrigestivill/postgres-backup-local:12{{ matrix_postgres_backup_docker_image_suffix }}"
  28. matrix_postgres_backup_docker_image_v13: "{{ matrix_global_registry }}prodrigestivill/postgres-backup-local:13{{ matrix_postgres_backup_docker_image_suffix }}"
  29. matrix_postgres_backup_docker_image_latest: "{{ matrix_postgres_backup_docker_image_v13 }}"
  30. # This variable is assigned at runtime. Overriding its value has no effect.
  31. matrix_postgres_backup_docker_image_to_use: '{{ matrix_postgres_backup_docker_image_latest }}'
  32. matrix_postgres_backup_docker_image_force_pull: "{{ matrix_postgres_backup_docker_image_to_use.endswith(':latest') }}"