IPV6 tryout

This commit is contained in:
Marc Fokkert
2025-04-30 13:56:49 +02:00
parent c1980a6afa
commit 51cf450411
12 changed files with 148 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ terraform {
}
provider "docker" {
#host = "tcp://127.0.0.1:3000"
# host = "tcp://127.0.0.1:3000"
host = "tcp://172.20.0.207:2375"
cert_path = pathexpand(".docker")
@@ -28,6 +28,21 @@ resource "docker_network" "container-public" {
}
}
resource "docker_network" "ipv6-slaac" {
name = "ipv6-slaac"
ipv6 = true
ipam_config {
aux_address = {}
subnet = "2a02:a470:b12a:2::/64"
}
ipam_config {
gateway = "192.168.32.1"
subnet = "192.168.32.0/20"
}
}
resource "docker_volume" "truenas-photoprism-originals" {
name = "truenas-photoprism-originals"
driver_opts = {