Enable IPv6 for Caddy and Tor

This commit is contained in:
Sam A. 2023-10-01 17:39:21 +02:00
parent df0df716b8
commit ee775b7247
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 11 additions and 1 deletions

View file

@ -4,5 +4,7 @@
"base": "172.17.0.0/16", "base": "172.17.0.0/16",
"size": 24 "size": 24
} }
] ],
"experimental": true,
"ip6tables": true
} }

View file

@ -3,11 +3,19 @@
- name: Create Docker network for services - name: Create Docker network for services
community.docker.docker_network: community.docker.docker_network:
name: services name: services
enable_ipv6: true
ipam_config:
- subnet: 172.17.2.0/24
- subnet: fd02::/64
state: present state: present
- name: Create Docker network for Tor - name: Create Docker network for Tor
community.docker.docker_network: community.docker.docker_network:
name: tor name: tor
enable_ipv6: true
ipam_config:
- subnet: 172.17.3.0/24
- subnet: fd03::/64
state: present state: present
- name: Create base directory for Docker volumes - name: Create base directory for Docker volumes