From 871f158748898cdd69b7c4df2783f0c31370d7dc Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 30 Mar 2025 20:02:09 +0200 Subject: garasjepi --- terraform/lhn2pi-zigbee2mqtt/README.md | 15 --------------- terraform/lhn2pi-zigbee2mqtt/main.tf | 15 ++------------- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 terraform/lhn2pi-zigbee2mqtt/README.md (limited to 'terraform/lhn2pi-zigbee2mqtt') diff --git a/terraform/lhn2pi-zigbee2mqtt/README.md b/terraform/lhn2pi-zigbee2mqtt/README.md deleted file mode 100644 index 2e6209c..0000000 --- a/terraform/lhn2pi-zigbee2mqtt/README.md +++ /dev/null @@ -1,15 +0,0 @@ -This is not a docker container as the rest, but using podman as lhn2pi runs - -https://www.zigbee2mqtt.io/guide/installation/02_docker.html#rootless-container - -podman run \ - --name=zigbee2mqtt \ - --restart=unless-stopped \ - -p 8080:8080 \ - -v $(pwd)/data:/app/data \ - -v /run/udev:/run/udev:ro \ - --device=/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED3DDF-if00:/dev/ttyACM0 \ - --group-add keep-groups \ - -e TZ=Europe/Amsterdam \ - koenkk/zigbee2mqtt - diff --git a/terraform/lhn2pi-zigbee2mqtt/main.tf b/terraform/lhn2pi-zigbee2mqtt/main.tf index 90527ee..2857b99 100644 --- a/terraform/lhn2pi-zigbee2mqtt/main.tf +++ b/terraform/lhn2pi-zigbee2mqtt/main.tf @@ -4,26 +4,15 @@ terraform { source = "kreuzwerker/docker" version = "3.0.2" } - linode = { - source = "linode/linode" - version = "1.30.0" - } - postgresql = { - source = "cyrilgdn/postgresql" - version = "1.18.0" - } - sops = { - source = "lokkersp/sops" - version = "0.6.10" - } } } provider "docker" { - host = "ssh://lhn2pi.dn42.trygvis.io" + host = "ssh://${local.host}" } locals { + host = "lhn2pi.dn42.trygvis.io" docker_image = "koenkk/zigbee2mqtt:1.42.0" public_ip = module.ipam.hosts.lhn2pi.address } -- cgit v1.2.3