瀏覽代碼

Connect postgres-backup directly to Postgres network, if integrated Postgres is used

This saves us one container network in the ideal case.
pull/3093/head
Slavi Pantaleev 2 年之前
父節點
當前提交
d7b5b65b0c
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      group_vars/matrix_servers

+ 2
- 0
group_vars/matrix_servers 查看文件

@@ -3875,6 +3875,8 @@ devture_postgres_backup_systemd_required_services_list_auto: |
([(devture_postgres_identifier + '.service')] if (devture_postgres_enabled and devture_postgres_backup_connection_hostname == devture_postgres_connection_hostname) else [])
}}

devture_postgres_backup_container_network: "{{ (devture_postgres_container_network if (devture_postgres_enabled and devture_postgres_backup_connection_hostname == devture_postgres_connection_hostname) else devture_postgres_identifier) }}"

devture_postgres_backup_container_additional_networks_auto: |-
{{
([devture_postgres_container_network] if (devture_postgres_enabled and devture_postgres_backup_connection_hostname == devture_postgres_connection_hostname and devture_postgres_backup_container_network != devture_postgres_container_network) else [])


Loading…
取消
儲存