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

46 строки
3.2 KiB

  1. ---
  2. # Project source code URL: https://github.com/prodrigestivill/docker-postgres-backup-local
  3. matrix_postgres_backup_enabled: false
  4. matrix_postgres_backup_connection_hostname: "matrix-postgres"
  5. matrix_postgres_backup_connection_port: 5432
  6. matrix_postgres_backup_connection_username: "matrix"
  7. matrix_postgres_backup_connection_password: ""
  8. matrix_postgres_backup_extra_opts: "-Z9 --schema=public --blobs"
  9. matrix_postgres_backup_schedule: "@daily"
  10. matrix_postgres_backup_keep_days: 7
  11. matrix_postgres_backup_keep_weeks: 4
  12. matrix_postgres_backup_keep_months: 12
  13. matrix_postgres_backup_healthcheck_port: "8080"
  14. matrix_postgres_backup_databases: []
  15. matrix_postgres_backup_path: "{{ matrix_base_data_path }}/postgres-backup"
  16. # Specifies where the Postgres data is.
  17. # We use this to autodetect the Postgres version during playbook runtime (by parsing the `PG_VERSION` file contained there).
  18. # You can leave this empty to prevent auto-detection.
  19. matrix_postgres_backup_postgres_data_path: ""
  20. matrix_postgres_backup_architecture: amd64
  21. # matrix_postgres_backup_docker_image_distro controls whether we use Alpine-based images (`-alpine`) or the normal Debian-based images.
  22. # 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).
  23. # On ARM32, `-alpine` images fail with the following error:
  24. # > LOG: startup process (PID 37) was terminated by signal 11: Segmentation fault
  25. matrix_postgres_backup_docker_image_distro: "{{ 'alpine' if matrix_postgres_backup_architecture in ['amd64', 'arm64'] else 'debian' }}"
  26. matrix_postgres_backup_docker_image_v9: "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:9.6-{{ matrix_postgres_backup_docker_image_distro }}-2aa03d1"
  27. matrix_postgres_backup_docker_image_v10: "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:10-{{ matrix_postgres_backup_docker_image_distro }}-2cf00a5"
  28. matrix_postgres_backup_docker_image_v11: "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:11-{{ matrix_postgres_backup_docker_image_distro }}-2cf00a5"
  29. matrix_postgres_backup_docker_image_v12: "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:12-{{ matrix_postgres_backup_docker_image_distro }}-2cf00a5"
  30. matrix_postgres_backup_docker_image_v13: "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:13-{{ matrix_postgres_backup_docker_image_distro }}-2cf00a5"
  31. matrix_postgres_backup_docker_image_v14: "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:14-{{ matrix_postgres_backup_docker_image_distro }}-2cf00a5"
  32. matrix_postgres_backup_docker_image_v15: "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:15-{{ matrix_postgres_backup_docker_image_distro }}-2cf00a5"
  33. matrix_postgres_backup_docker_image_latest: "{{ matrix_postgres_backup_docker_image_v15 }}"
  34. # This variable is assigned at runtime. Overriding its value has no effect.
  35. matrix_postgres_backup_docker_image_to_use: '{{ matrix_postgres_backup_docker_image_latest }}'
  36. matrix_postgres_backup_docker_image_force_pull: "{{ matrix_postgres_backup_docker_image_to_use.endswith(':latest') }}"