This commit is contained in:
Marc Fokkert
2025-05-27 08:14:30 +02:00
parent 0f4ba8da39
commit 82fb383c2e
5 changed files with 55 additions and 17 deletions

View File

@@ -28,20 +28,23 @@ 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_network" "ipv6-slaac" {
name = "ipv6-slaac"
ipv6 = true
ipam_config {
subnet = "2a02:a470:b12a:2::/64"
}
}
resource "docker_network" "ip6net" {
name = "ipv6net"
ipv6 = true
ipam_config {
subnet = "2001:db8::/64"
}
}
resource "docker_volume" "truenas-photoprism-originals" {
name = "truenas-photoprism-originals"