This commit is contained in:
Julian-Samuel Gebühr 2023-04-05 18:24:53 +02:00
parent ba47bb5eac
commit f9267e6600

View file

@ -1196,14 +1196,14 @@ mobilizon_systemd_required_services_list: |
{{ {{
(['docker.service']) (['docker.service'])
+ +
([devture_postgres_identifier ~ '.service'] if postgis_enabled and mobilizon_database_host == postgis_identifier else []) ([postgis_identifier ~ '.service'] if postgis_enabled and mobilizon_database_hostname == postgis_identifier else [])
}} }}
mobilizon_container_additional_networks: | mobilizon_container_additional_networks: |
{{ {{
([mash_playbook_reverse_proxyable_services_additional_network] if mash_playbook_reverse_proxyable_services_additional_network else []) ([mash_playbook_reverse_proxyable_services_additional_network] if mash_playbook_reverse_proxyable_services_additional_network else [])
+ +
([postgis_container_network] if postgis_enabled and mobilizon_database_host == postgis_identifier and mobilizon_container_network != postgis_container_network else []) ([postgis_container_network] if postgis_enabled and mobilizon_database_hostname == postgis_identifier and mobilizon_container_network != postgis_container_network else [])
}} }}
mobilizon_container_labels_traefik_enabled: "{{ mash_playbook_traefik_labels_enabled }}" mobilizon_container_labels_traefik_enabled: "{{ mash_playbook_traefik_labels_enabled }}"