Skip to content
Snippets Groups Projects
Commit 7cb315c3 authored by Théo - Le Filament's avatar Théo - Le Filament
Browse files

change(traefik): follow update One dict to rule them all

parent ee6ebe67
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ services: ...@@ -7,7 +7,7 @@ services:
TZ: "{{ timezone }}" TZ: "{{ timezone }}"
networks: networks:
net46: net46:
{% if odoo_prod.extra_app is defined or odoo_nonprod_instances[0].extra_app is defined %} {% if odoo_instances.values() | list | selectattr('extra_app', 'defined') %}
app: app:
{% endif %} {% endif %}
shared: shared:
...@@ -77,7 +77,7 @@ networks: ...@@ -77,7 +77,7 @@ networks:
config: config:
- subnet: fd01::/64 - subnet: fd01::/64
gateway: fd01::1 gateway: fd01::1
{% if odoo_prod.extra_app is defined or odoo_nonprod_instances[0].extra_app is defined %} {% if odoo_instances.values() | list | selectattr('extra_app', 'defined') %}
app: app:
internal: true internal: true
driver_opts: driver_opts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment