diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-11-03 17:13:56 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-11-03 17:13:56 +0100 |
commit | 8ceb4bbe219230a7e8297f7bd78c141202454dba (patch) | |
tree | c7b8c5b8f64c061d86cb2a41711d7afe989f2965 /terraform/unifi-controller/mongo.tf | |
parent | 9fc7d5ed1a8a31bd0ddcba0568c8acc280ee5021 (diff) | |
download | infra-8ceb4bbe219230a7e8297f7bd78c141202454dba.tar.gz infra-8ceb4bbe219230a7e8297f7bd78c141202454dba.tar.bz2 infra-8ceb4bbe219230a7e8297f7bd78c141202454dba.tar.xz infra-8ceb4bbe219230a7e8297f7bd78c141202454dba.zip |
unifi
Diffstat (limited to 'terraform/unifi-controller/mongo.tf')
-rw-r--r-- | terraform/unifi-controller/mongo.tf | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/terraform/unifi-controller/mongo.tf b/terraform/unifi-controller/mongo.tf index 2b83691..f7c1950 100644 --- a/terraform/unifi-controller/mongo.tf +++ b/terraform/unifi-controller/mongo.tf @@ -1,6 +1,6 @@ -resource "docker_network" "unifi" { - name = "unifi" -} +# resource "docker_network" "unifi" { +# name = "unifi" +# } data "docker_registry_image" "mongo" { name = local.docker_image_mongo @@ -20,11 +20,11 @@ resource "docker_container" "unifi-mongo" { name = "unifi-mongo" hostname = "unifi-mongo" - networks_advanced { - name = docker_network.unifi.name - } +# networks_advanced { +# name = docker_network.unifi.name +# } - network_mode = "bridge" + network_mode = "host" volumes { volume_name = docker_volume.unifi-mongo.name |