prepare for ipv6 deployment

This commit is contained in:
2023-04-03 03:47:01 -07:00
parent 20ce67472d
commit 40de9b87a1
16 changed files with 177 additions and 24 deletions

View File

@@ -1,3 +1,11 @@
{% macro default_network(subnet_index) %}
default:
enable_ipv6: true
ipam:
config:
- subnet: {{ docker_ipv6_subnet | ansible.utils.ipsubnet(80, subnet_index) }}
{% endmacro %}
{% macro traefik_labels(host, service="", port="", auth=false) %}
traefik.enable=true
- traefik.http.routers.{{ host }}.rule=Host(`{{ host }}.{{ domain }}`)