aboutsummaryrefslogtreecommitdiff
path: root/terraform/lhn2pi-zigbee2mqtt/zigbee2mqtt.tf
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/lhn2pi-zigbee2mqtt/zigbee2mqtt.tf')
-rw-r--r--terraform/lhn2pi-zigbee2mqtt/zigbee2mqtt.tf3
1 files changed, 3 insertions, 0 deletions
diff --git a/terraform/lhn2pi-zigbee2mqtt/zigbee2mqtt.tf b/terraform/lhn2pi-zigbee2mqtt/zigbee2mqtt.tf
index a77fe95..1e3e1a9 100644
--- a/terraform/lhn2pi-zigbee2mqtt/zigbee2mqtt.tf
+++ b/terraform/lhn2pi-zigbee2mqtt/zigbee2mqtt.tf
@@ -18,10 +18,13 @@ resource "docker_container" "zigbee2mqtt" {
# privileged = true
must_run = true
+ network_mode = "host"
+
ports {
internal = 8080
external = 8080
protocol = "tcp"
+ ip = local.public_ip
}
volumes {