From 8ceb4bbe219230a7e8297f7bd78c141202454dba Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 3 Nov 2024 17:13:56 +0100 Subject: unifi --- terraform/unifi-controller/mongo.tf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'terraform/unifi-controller/mongo.tf') 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 -- cgit v1.2.3