aboutsummaryrefslogtreecommitdiff
path: root/terraform/hash-docker/network.tf
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/hash-docker/network.tf')
-rw-r--r--terraform/hash-docker/network.tf14
1 files changed, 14 insertions, 0 deletions
diff --git a/terraform/hash-docker/network.tf b/terraform/hash-docker/network.tf
new file mode 100644
index 0000000..94ddeef
--- /dev/null
+++ b/terraform/hash-docker/network.tf
@@ -0,0 +1,14 @@
+resource "docker_network" "dn42" {
+ name = "dn42"
+
+ ipv6 = true
+
+ ipam_config {
+ gateway = "172.20.0.1"
+ subnet = "172.20.0.0/16"
+ }
+
+ ipam_config {
+ subnet = local.dn42_range
+ }
+}