Connect postgres-backup directly to Postgres network, if integrated Postgres is used
This saves us one container network in the ideal case.
This commit is contained in:
parent
41b1342da4
commit
7b54c59747
1 changed files with 2 additions and 0 deletions
|
@ -897,6 +897,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_backup_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…
Add table
Reference in a new issue