IPV6 tryout
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user