Files
qnap-containers-famf/terraform.tfstate
2023-07-27 14:59:34 +02:00

1575 lines
50 KiB
JSON

{
"version": 4,
"terraform_version": "1.0.9",
"serial": 430,
"lineage": "e7740904-79b1-f2c6-7412-51acd75d7fa7",
"outputs": {},
"resources": [
{
"mode": "data",
"type": "docker_registry_image",
"name": "home-assistant",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "sha256:17667d8849f01fb8a34f2eecff79beb50be0394928c8c4b64853648472ebee38",
"insecure_skip_verify": false,
"name": "homeassistant/home-assistant",
"sha256_digest": "sha256:17667d8849f01fb8a34f2eecff79beb50be0394928c8c4b64853648472ebee38"
},
"sensitive_attributes": []
}
]
},
{
"mode": "data",
"type": "docker_registry_image",
"name": "mariadb",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "sha256:cdbd129e15b5cb34d5c516020a184a238d6a228c2addc5acb72aa1a47f84b64a",
"insecure_skip_verify": false,
"name": "mariadb:10.4",
"sha256_digest": "sha256:cdbd129e15b5cb34d5c516020a184a238d6a228c2addc5acb72aa1a47f84b64a"
},
"sensitive_attributes": []
}
]
},
{
"mode": "data",
"type": "docker_registry_image",
"name": "mosquitto",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "sha256:efc3fd76a152985decdbd3768f79e4635d2e47febaeb1349d8f421a48fb0564b",
"insecure_skip_verify": false,
"name": "eclipse-mosquitto:2",
"sha256_digest": "sha256:efc3fd76a152985decdbd3768f79e4635d2e47febaeb1349d8f421a48fb0564b"
},
"sensitive_attributes": []
}
]
},
{
"mode": "data",
"type": "docker_registry_image",
"name": "mqtt-exporter",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "sha256:01a9b8c7c1e5e6d3e7a32a76f79309970b7edac50e9c034d69d46b1117be918b",
"insecure_skip_verify": false,
"name": "fhemberger/mqtt_exporter:v1.4.1",
"sha256_digest": "sha256:01a9b8c7c1e5e6d3e7a32a76f79309970b7edac50e9c034d69d46b1117be918b"
},
"sensitive_attributes": []
}
]
},
{
"mode": "data",
"type": "docker_registry_image",
"name": "node-red",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "sha256:5fd729fce9b787903e2b443a2fc052c6253b737ca38e65df7b843cd4170bdb5c",
"insecure_skip_verify": false,
"name": "nodered/node-red:latest",
"sha256_digest": "sha256:5fd729fce9b787903e2b443a2fc052c6253b737ca38e65df7b843cd4170bdb5c"
},
"sensitive_attributes": []
}
]
},
{
"mode": "data",
"type": "docker_registry_image",
"name": "prometheus",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "sha256:d6ead9daf2355b9923479e24d7e93f246253ee6a5eb18a61b0f607219f341a80",
"insecure_skip_verify": false,
"name": "prom/prometheus:latest",
"sha256_digest": "sha256:d6ead9daf2355b9923479e24d7e93f246253ee6a5eb18a61b0f607219f341a80"
},
"sensitive_attributes": []
}
]
},
{
"mode": "data",
"type": "docker_registry_image",
"name": "zigbee-2-mqtt",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "sha256:a152fa019f05d9712cce1da20c82b1c96557277954ad60d644114376623c9912",
"insecure_skip_verify": false,
"name": "koenkk/zigbee2mqtt",
"sha256_digest": "sha256:a152fa019f05d9712cce1da20c82b1c96557277954ad60d644114376623c9912"
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "docker_container",
"name": "grafana",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 2,
"attributes": {
"attach": false,
"bridge": "",
"capabilities": [],
"command": [],
"container_logs": null,
"cpu_set": "",
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [],
"dns": [],
"dns_opts": [],
"dns_search": [],
"domainname": "",
"entrypoint": [
"/run.sh"
],
"env": [],
"exit_code": null,
"gateway": "192.168.2.254",
"group_add": [],
"healthcheck": [],
"host": [],
"hostname": "280169769b23",
"id": "280169769b23933709993844ef6241cb30284762ebf8d110333935d1cb2d64f0",
"image": "sha256:0b5f69449f9e7b07b45294bcfd8c123b26614c12ce67599b0c771520d286b061",
"init": false,
"ip_address": "192.168.2.248",
"ip_prefix_length": 24,
"ipc_mode": "private",
"labels": [],
"links": [],
"log_driver": "json-file",
"log_opts": {
"max-file": "10",
"max-size": "10m"
},
"logs": false,
"max_retry_count": 0,
"memory": 0,
"memory_swap": 0,
"mounts": [
{
"bind_options": [],
"read_only": false,
"source": "/share/appdata/grafana",
"target": "/var/lib/grafana",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
}
],
"must_run": true,
"name": "grafana",
"network_alias": null,
"network_data": [
{
"gateway": "192.168.2.254",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.248",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"network_name": "terraform-static-eth1-shared"
}
],
"network_mode": "default",
"networks": null,
"networks_advanced": [
{
"aliases": [],
"ipv4_address": "192.168.2.248",
"ipv6_address": "",
"name": "terraform-static-eth1-shared"
}
],
"pid_mode": "",
"ports": [],
"privileged": false,
"publish_all_ports": false,
"read_only": false,
"remove_volumes": true,
"restart": "always",
"rm": false,
"security_opts": [],
"shm_size": 64,
"start": true,
"stdin_open": false,
"storage_opts": {},
"sysctls": {},
"tmpfs": {},
"tty": false,
"ulimit": [
{
"hard": 65535,
"name": "nofile",
"soft": 65535
}
],
"upload": [],
"user": "472",
"userns_mode": "",
"volumes": [],
"working_dir": "/usr/share/grafana"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"docker_network.bridge",
"docker_image.grafana"
]
}
]
},
{
"mode": "managed",
"type": "docker_container",
"name": "home-assistant",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 2,
"attributes": {
"attach": false,
"bridge": "",
"capabilities": [],
"command": [],
"container_logs": null,
"cpu_set": "",
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [],
"dns": null,
"dns_opts": null,
"dns_search": null,
"domainname": "",
"entrypoint": [
"/init"
],
"env": [],
"exit_code": null,
"gateway": "172.29.4.1",
"group_add": null,
"healthcheck": null,
"host": [],
"hostname": "afdc4cc91532",
"id": "afdc4cc91532ca5c2d3f1cd40c0ea18877bff8d61e79e5d1c47e68c64aa1a94e",
"image": "sha256:50d59421cc4412b411ab88deee659dec310c27ef56d90c463cedd28b9bc3192b",
"init": false,
"ip_address": "172.29.4.3",
"ip_prefix_length": 22,
"ipc_mode": "private",
"labels": [],
"links": null,
"log_driver": "json-file",
"log_opts": {
"max-file": "10",
"max-size": "10m"
},
"logs": false,
"max_retry_count": 0,
"memory": 0,
"memory_swap": 0,
"mounts": [
{
"bind_options": [],
"read_only": false,
"source": "/share/appdata/home-assistant",
"target": "/config",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
}
],
"must_run": true,
"name": "home-assistant",
"network_alias": null,
"network_data": [
{
"gateway": "172.29.4.1",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "172.29.4.3",
"ip_prefix_length": 22,
"ipv6_gateway": "",
"network_name": "mariadb"
},
{
"gateway": "192.168.2.254",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.249",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"network_name": "terraform-static-eth1-shared"
}
],
"network_mode": "default",
"networks": null,
"networks_advanced": [
{
"aliases": [],
"ipv4_address": "",
"ipv6_address": "",
"name": "mariadb"
},
{
"aliases": [],
"ipv4_address": "192.168.2.249",
"ipv6_address": "",
"name": "terraform-static-eth1-shared"
}
],
"pid_mode": "",
"ports": [],
"privileged": false,
"publish_all_ports": false,
"read_only": false,
"remove_volumes": true,
"restart": "always",
"rm": false,
"security_opts": [],
"shm_size": 64,
"start": true,
"stdin_open": false,
"storage_opts": null,
"sysctls": null,
"tmpfs": null,
"tty": false,
"ulimit": [],
"upload": [],
"user": "",
"userns_mode": "",
"volumes": [],
"working_dir": "/config"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"data.docker_registry_image.home-assistant",
"data.docker_registry_image.mariadb",
"docker_container.mariadb",
"docker_image.home-assistant",
"docker_image.mariadb",
"docker_network.bridge",
"docker_network.mariadb"
]
}
]
},
{
"mode": "managed",
"type": "docker_container",
"name": "mariadb",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 2,
"attributes": {
"attach": false,
"bridge": "",
"capabilities": [],
"command": [
"mysqld"
],
"container_logs": null,
"cpu_set": "",
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [],
"dns": null,
"dns_opts": null,
"dns_search": null,
"domainname": "",
"entrypoint": [
"docker-entrypoint.sh"
],
"env": [],
"exit_code": null,
"gateway": "192.168.2.254",
"group_add": null,
"healthcheck": null,
"host": [],
"hostname": "9aeb4c058783",
"id": "9aeb4c058783ccf1a2ce1c4f8180b1297722ba19db30a82bc32695b987f5a575",
"image": "sha256:6f124baa2d1f48e3a327fef28348367db2d582d6fa131de72561bf6899654e27",
"init": false,
"ip_address": "192.168.2.247",
"ip_prefix_length": 24,
"ipc_mode": "private",
"labels": [],
"links": null,
"log_driver": "json-file",
"log_opts": {
"max-file": "10",
"max-size": "10m"
},
"logs": false,
"max_retry_count": 0,
"memory": 0,
"memory_swap": 0,
"mounts": [
{
"bind_options": [],
"read_only": false,
"source": "/share/appdata/mariadb",
"target": "/var/lib/mysql",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
}
],
"must_run": true,
"name": "mariadb",
"network_alias": null,
"network_data": [
{
"gateway": "172.29.4.1",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "172.29.4.2",
"ip_prefix_length": 22,
"ipv6_gateway": "",
"network_name": "mariadb"
},
{
"gateway": "192.168.2.254",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.247",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"network_name": "terraform-static-eth1-shared"
}
],
"network_mode": "default",
"networks": null,
"networks_advanced": [
{
"aliases": [],
"ipv4_address": "",
"ipv6_address": "",
"name": "mariadb"
},
{
"aliases": [],
"ipv4_address": "192.168.2.247",
"ipv6_address": "",
"name": "terraform-static-eth1-shared"
}
],
"pid_mode": "",
"ports": [],
"privileged": false,
"publish_all_ports": false,
"read_only": false,
"remove_volumes": true,
"restart": "always",
"rm": false,
"security_opts": [],
"shm_size": 64,
"start": true,
"stdin_open": false,
"storage_opts": null,
"sysctls": null,
"tmpfs": null,
"tty": false,
"ulimit": [],
"upload": [],
"user": "",
"userns_mode": "",
"volumes": [],
"working_dir": ""
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"data.docker_registry_image.mariadb",
"docker_image.mariadb",
"docker_network.bridge",
"docker_network.mariadb"
]
}
]
},
{
"mode": "managed",
"type": "docker_container",
"name": "mosquitto",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 2,
"attributes": {
"attach": false,
"bridge": "",
"capabilities": [],
"command": [
"/usr/sbin/mosquitto",
"-c",
"/mosquitto/config/mosquitto.conf"
],
"container_logs": null,
"cpu_set": "",
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [],
"dns": [],
"dns_opts": [],
"dns_search": [],
"domainname": "",
"entrypoint": [
"/docker-entrypoint.sh"
],
"env": [],
"exit_code": null,
"gateway": "192.168.2.254",
"group_add": [],
"healthcheck": [],
"host": [],
"hostname": "489c9f4adeef",
"id": "489c9f4adeef14a86ec5403e552de07e69c95c6a24cee2c3b14372aed459e807",
"image": "sha256:a421387ae63e61551bb16785b442e3017445108e05d227f72eec063ddb6450fd",
"init": false,
"ip_address": "192.168.2.125",
"ip_prefix_length": 24,
"ipc_mode": "private",
"labels": [],
"links": [],
"log_driver": "json-file",
"log_opts": {
"max-file": "10",
"max-size": "10m"
},
"logs": false,
"max_retry_count": 0,
"memory": 0,
"memory_swap": 0,
"mounts": [
{
"bind_options": [],
"read_only": false,
"source": "/share/appdata/mosquitto/config",
"target": "/mosquitto/config",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
},
{
"bind_options": [],
"read_only": false,
"source": "/share/appdata/mosquitto/data",
"target": "/mosquitto/data",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
},
{
"bind_options": [],
"read_only": false,
"source": "/share/appdata/mosquitto/log",
"target": "/mosquitto/log",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
}
],
"must_run": true,
"name": "mosquitto",
"network_alias": null,
"network_data": [
{
"gateway": "192.168.2.254",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.125",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"network_name": "terraform-static-eth1-shared"
}
],
"network_mode": "default",
"networks": null,
"networks_advanced": [
{
"aliases": [],
"ipv4_address": "192.168.2.125",
"ipv6_address": "",
"name": "terraform-static-eth1-shared"
}
],
"pid_mode": "",
"ports": [],
"privileged": false,
"publish_all_ports": false,
"read_only": false,
"remove_volumes": true,
"restart": "always",
"rm": false,
"security_opts": [],
"shm_size": 64,
"start": true,
"stdin_open": false,
"storage_opts": {},
"sysctls": {},
"tmpfs": {},
"tty": false,
"ulimit": [
{
"hard": 65535,
"name": "nofile",
"soft": 65535
}
],
"upload": [],
"user": "",
"userns_mode": "",
"volumes": [],
"working_dir": ""
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"data.docker_registry_image.mosquitto",
"docker_image.mosquitto",
"docker_network.bridge"
]
}
]
},
{
"mode": "managed",
"type": "docker_container",
"name": "mqtt-exporter",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 2,
"attributes": {
"attach": false,
"bridge": "",
"capabilities": [],
"command": [],
"container_logs": null,
"cpu_set": "",
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [],
"dns": [],
"dns_opts": [],
"dns_search": [],
"domainname": "",
"entrypoint": [
"/usr/local/bin/python3",
"-u",
"/usr/src/app/mqtt_exporter.py"
],
"env": [],
"exit_code": null,
"gateway": "192.168.2.254",
"group_add": [],
"healthcheck": [],
"host": [],
"hostname": "9cd92ba91295",
"id": "9cd92ba912957b38ac0e54983f3c3876dcf146f9aaaae03be0c0f2bf56d92d4d",
"image": "sha256:fdf252bb086bca8485155d08137764b2dff18c543c54a4f14897519b61b7afb6",
"init": false,
"ip_address": "192.168.2.245",
"ip_prefix_length": 24,
"ipc_mode": "private",
"labels": [],
"links": [],
"log_driver": "json-file",
"log_opts": {
"max-file": "10",
"max-size": "10m"
},
"logs": false,
"max_retry_count": 0,
"memory": 0,
"memory_swap": 0,
"mounts": [
{
"bind_options": [],
"read_only": false,
"source": "/share/appdata/mqtt-exporter",
"target": "/usr/src/app/conf",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
}
],
"must_run": true,
"name": "mqtt-exporter",
"network_alias": null,
"network_data": [
{
"gateway": "192.168.2.254",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.245",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"network_name": "terraform-static-eth1-shared"
}
],
"network_mode": "default",
"networks": null,
"networks_advanced": [
{
"aliases": [],
"ipv4_address": "192.168.2.245",
"ipv6_address": "",
"name": "terraform-static-eth1-shared"
}
],
"pid_mode": "",
"ports": [],
"privileged": false,
"publish_all_ports": false,
"read_only": false,
"remove_volumes": true,
"restart": "always",
"rm": false,
"security_opts": [],
"shm_size": 64,
"start": true,
"stdin_open": false,
"storage_opts": {},
"sysctls": {},
"tmpfs": {},
"tty": false,
"ulimit": [
{
"hard": 65535,
"name": "nofile",
"soft": 65535
}
],
"upload": [],
"user": "mqtt_exporter",
"userns_mode": "",
"volumes": [],
"working_dir": "/usr/src/app"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"data.docker_registry_image.mqtt-exporter",
"docker_image.mqtt-exporter",
"docker_network.bridge"
]
}
]
},
{
"mode": "managed",
"type": "docker_container",
"name": "node-red",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 2,
"attributes": {
"attach": false,
"bridge": "",
"capabilities": [],
"command": [],
"container_logs": null,
"cpu_set": "",
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [],
"dns": null,
"dns_opts": null,
"dns_search": null,
"domainname": "",
"entrypoint": [
"./entrypoint.sh"
],
"env": [],
"exit_code": null,
"gateway": "192.168.2.254",
"group_add": null,
"healthcheck": [
{
"interval": "0s",
"retries": 0,
"start_period": "0s",
"test": [
"CMD-SHELL",
"node /healthcheck.js"
],
"timeout": "0s"
}
],
"host": [],
"hostname": "1044d2cce4b8",
"id": "1044d2cce4b8126f324ff03eec69c4c37b8e240ddef478ac0874561da2bbc0e9",
"image": "sha256:c18405a7344409fafea74695d2ad912b2e867a0d84ff16ef494d16bfb52643f4",
"init": false,
"ip_address": "192.168.2.244",
"ip_prefix_length": 24,
"ipc_mode": "private",
"labels": [],
"links": null,
"log_driver": "json-file",
"log_opts": {
"max-file": "10",
"max-size": "10m"
},
"logs": false,
"max_retry_count": 0,
"memory": 0,
"memory_swap": 0,
"mounts": [
{
"bind_options": [],
"read_only": null,
"source": "/share/appdata/node-red",
"target": "/data",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
}
],
"must_run": true,
"name": "node-red",
"network_alias": null,
"network_data": [
{
"gateway": "192.168.2.254",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.244",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"network_name": "terraform-static-eth1-shared"
}
],
"network_mode": "default",
"networks": null,
"networks_advanced": [
{
"aliases": [],
"ipv4_address": "192.168.2.244",
"ipv6_address": "",
"name": "terraform-static-eth1-shared"
}
],
"pid_mode": "",
"ports": [],
"privileged": false,
"publish_all_ports": false,
"read_only": false,
"remove_volumes": true,
"restart": "always",
"rm": false,
"security_opts": [],
"shm_size": 64,
"start": true,
"stdin_open": false,
"storage_opts": null,
"sysctls": null,
"tmpfs": null,
"tty": false,
"ulimit": [],
"upload": [],
"user": "node-red",
"userns_mode": "",
"volumes": [],
"working_dir": "/usr/src/node-red"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"data.docker_registry_image.node-red",
"docker_image.node-red",
"docker_network.bridge"
]
}
]
},
{
"mode": "managed",
"type": "docker_container",
"name": "prometheus",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 2,
"attributes": {
"attach": false,
"bridge": "",
"capabilities": [],
"command": [
"--config.file=/etc/prometheus/prometheus.yml",
"--storage.tsdb.path=/prometheus",
"--web.console.libraries=/usr/share/prometheus/console_libraries",
"--web.console.templates=/usr/share/prometheus/consoles",
"--storage.tsdb.retention.time=2y"
],
"container_logs": null,
"cpu_set": "",
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [],
"dns": null,
"dns_opts": null,
"dns_search": null,
"domainname": "",
"entrypoint": [
"/bin/prometheus"
],
"env": [],
"exit_code": null,
"gateway": "192.168.2.254",
"group_add": null,
"healthcheck": null,
"host": [],
"hostname": "766cb0f81326",
"id": "766cb0f813264f962996847bc7bc2bdd00567d26bfcd03a347dabf3d61d24e46",
"image": "sha256:3b907f5313b7de82873c71ab09043cdcc39d09f5024510040c7c6e271208a53a",
"init": false,
"ip_address": "192.168.2.243",
"ip_prefix_length": 24,
"ipc_mode": "private",
"labels": [],
"links": null,
"log_driver": "json-file",
"log_opts": {
"max-file": "10",
"max-size": "10m"
},
"logs": false,
"max_retry_count": 0,
"memory": 0,
"memory_swap": 0,
"mounts": [
{
"bind_options": [],
"read_only": false,
"source": "/share/appdata/prometheus/config",
"target": "/etc/prometheus",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
},
{
"bind_options": [],
"read_only": false,
"source": "/share/appdata/prometheus/data",
"target": "/prometheus",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
}
],
"must_run": true,
"name": "prometheus",
"network_alias": null,
"network_data": [
{
"gateway": "192.168.2.254",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.243",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"network_name": "terraform-static-eth1-shared"
}
],
"network_mode": "default",
"networks": null,
"networks_advanced": [
{
"aliases": [],
"ipv4_address": "192.168.2.243",
"ipv6_address": "",
"name": "terraform-static-eth1-shared"
}
],
"pid_mode": "",
"ports": [],
"privileged": false,
"publish_all_ports": false,
"read_only": false,
"remove_volumes": true,
"restart": "always",
"rm": false,
"security_opts": [],
"shm_size": 64,
"start": true,
"stdin_open": false,
"storage_opts": null,
"sysctls": null,
"tmpfs": null,
"tty": false,
"ulimit": [],
"upload": [],
"user": "nobody",
"userns_mode": "",
"volumes": [],
"working_dir": "/prometheus"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"data.docker_registry_image.prometheus",
"docker_image.prometheus",
"docker_network.bridge"
]
}
]
},
{
"mode": "managed",
"type": "docker_container",
"name": "zigbee-2-mqtt",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 2,
"attributes": {
"attach": false,
"bridge": "",
"capabilities": [],
"command": [
"/sbin/tini",
"--",
"node",
"index.js"
],
"container_logs": null,
"cpu_set": "",
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [
{
"container_path": "/dev/ttyACM0",
"host_path": "/dev/ttyACM0",
"permissions": "rwm"
}
],
"dns": null,
"dns_opts": null,
"dns_search": null,
"domainname": "",
"entrypoint": [
"docker-entrypoint.sh"
],
"env": [
"TZ=Europe/Amsterdam"
],
"exit_code": null,
"gateway": "192.168.2.254",
"group_add": null,
"healthcheck": null,
"host": [],
"hostname": "a71feddba866",
"id": "a71feddba866434951164176c6023e28c4c83c55311dabbb196dc4ef9c0a065b",
"image": "sha256:51e8df8e568c7002dca2a3bc51e628c08002f2c2f88aaf0daeef653aab8241af",
"init": false,
"ip_address": "192.168.2.242",
"ip_prefix_length": 24,
"ipc_mode": "private",
"labels": [],
"links": null,
"log_driver": "json-file",
"log_opts": {
"max-file": "10",
"max-size": "10m"
},
"logs": false,
"max_retry_count": 0,
"memory": 0,
"memory_swap": 0,
"mounts": [
{
"bind_options": [],
"read_only": true,
"source": "/run/udev",
"target": "/run/udev",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
},
{
"bind_options": [],
"read_only": null,
"source": "/share/appdata/zigbee2mqtt",
"target": "/app/data",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
}
],
"must_run": true,
"name": "zigbee-2-mqtt",
"network_alias": null,
"network_data": [
{
"gateway": "192.168.2.254",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.242",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"network_name": "terraform-static-eth1-shared"
}
],
"network_mode": "default",
"networks": null,
"networks_advanced": [
{
"aliases": [],
"ipv4_address": "192.168.2.242",
"ipv6_address": "",
"name": "terraform-static-eth1-shared"
}
],
"pid_mode": "",
"ports": [],
"privileged": false,
"publish_all_ports": false,
"read_only": false,
"remove_volumes": true,
"restart": "always",
"rm": false,
"security_opts": [],
"shm_size": 64,
"start": true,
"stdin_open": false,
"storage_opts": null,
"sysctls": null,
"tmpfs": null,
"tty": false,
"ulimit": [],
"upload": [],
"user": "",
"userns_mode": "",
"volumes": [],
"working_dir": "/app"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"data.docker_registry_image.zigbee-2-mqtt",
"docker_image.zigbee-2-mqtt",
"docker_network.bridge"
]
}
]
},
{
"mode": "managed",
"type": "docker_image",
"name": "grafana",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:0b5f69449f9e7b07b45294bcfd8c123b26614c12ce67599b0c771520d286b061grafana/grafana:latest",
"keep_locally": null,
"latest": "sha256:0b5f69449f9e7b07b45294bcfd8c123b26614c12ce67599b0c771520d286b061",
"name": "grafana/grafana:latest",
"output": null,
"pull_trigger": null,
"pull_triggers": null,
"repo_digest": "grafana/grafana@sha256:d677948c6e9ab36e1f128e4372f716b8e2cf9f50790429e63aaea48fbdfc7dfb"
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "docker_image",
"name": "home-assistant",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:50d59421cc4412b411ab88deee659dec310c27ef56d90c463cedd28b9bc3192bhomeassistant/home-assistant",
"keep_locally": null,
"latest": "sha256:50d59421cc4412b411ab88deee659dec310c27ef56d90c463cedd28b9bc3192b",
"name": "homeassistant/home-assistant",
"output": null,
"pull_trigger": null,
"pull_triggers": [
"sha256:17667d8849f01fb8a34f2eecff79beb50be0394928c8c4b64853648472ebee38"
],
"repo_digest": "homeassistant/home-assistant@sha256:17667d8849f01fb8a34f2eecff79beb50be0394928c8c4b64853648472ebee38"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.docker_registry_image.home-assistant"
]
}
]
},
{
"mode": "managed",
"type": "docker_image",
"name": "mariadb",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:6f124baa2d1f48e3a327fef28348367db2d582d6fa131de72561bf6899654e27mariadb:10.4",
"keep_locally": null,
"latest": "sha256:6f124baa2d1f48e3a327fef28348367db2d582d6fa131de72561bf6899654e27",
"name": "mariadb:10.4",
"output": null,
"pull_trigger": null,
"pull_triggers": [
"sha256:cdbd129e15b5cb34d5c516020a184a238d6a228c2addc5acb72aa1a47f84b64a"
],
"repo_digest": "mariadb@sha256:cdbd129e15b5cb34d5c516020a184a238d6a228c2addc5acb72aa1a47f84b64a"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.docker_registry_image.mariadb"
]
}
]
},
{
"mode": "managed",
"type": "docker_image",
"name": "mosquitto",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:a421387ae63e61551bb16785b442e3017445108e05d227f72eec063ddb6450fdeclipse-mosquitto:2",
"keep_locally": null,
"latest": "sha256:a421387ae63e61551bb16785b442e3017445108e05d227f72eec063ddb6450fd",
"name": "eclipse-mosquitto:2",
"output": null,
"pull_trigger": null,
"pull_triggers": [
"sha256:efc3fd76a152985decdbd3768f79e4635d2e47febaeb1349d8f421a48fb0564b"
],
"repo_digest": "eclipse-mosquitto@sha256:efc3fd76a152985decdbd3768f79e4635d2e47febaeb1349d8f421a48fb0564b"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.docker_registry_image.mosquitto"
]
}
]
},
{
"mode": "managed",
"type": "docker_image",
"name": "mqtt-exporter",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:fdf252bb086bca8485155d08137764b2dff18c543c54a4f14897519b61b7afb6fhemberger/mqtt_exporter:v1.4.1",
"keep_locally": null,
"latest": "sha256:fdf252bb086bca8485155d08137764b2dff18c543c54a4f14897519b61b7afb6",
"name": "fhemberger/mqtt_exporter:v1.4.1",
"output": null,
"pull_trigger": null,
"pull_triggers": [
"sha256:01a9b8c7c1e5e6d3e7a32a76f79309970b7edac50e9c034d69d46b1117be918b"
],
"repo_digest": "fhemberger/mqtt_exporter@sha256:01a9b8c7c1e5e6d3e7a32a76f79309970b7edac50e9c034d69d46b1117be918b"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.docker_registry_image.mqtt-exporter"
]
}
]
},
{
"mode": "managed",
"type": "docker_image",
"name": "node-red",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:c18405a7344409fafea74695d2ad912b2e867a0d84ff16ef494d16bfb52643f4nodered/node-red:latest",
"keep_locally": null,
"latest": "sha256:c18405a7344409fafea74695d2ad912b2e867a0d84ff16ef494d16bfb52643f4",
"name": "nodered/node-red:latest",
"output": null,
"pull_trigger": null,
"pull_triggers": [
"sha256:5fd729fce9b787903e2b443a2fc052c6253b737ca38e65df7b843cd4170bdb5c"
],
"repo_digest": "nodered/node-red@sha256:5fd729fce9b787903e2b443a2fc052c6253b737ca38e65df7b843cd4170bdb5c"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.docker_registry_image.node-red"
]
}
]
},
{
"mode": "managed",
"type": "docker_image",
"name": "prometheus",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:3b907f5313b7de82873c71ab09043cdcc39d09f5024510040c7c6e271208a53aprom/prometheus:latest",
"keep_locally": null,
"latest": "sha256:3b907f5313b7de82873c71ab09043cdcc39d09f5024510040c7c6e271208a53a",
"name": "prom/prometheus:latest",
"output": null,
"pull_trigger": null,
"pull_triggers": [
"sha256:d6ead9daf2355b9923479e24d7e93f246253ee6a5eb18a61b0f607219f341a80"
],
"repo_digest": "prom/prometheus@sha256:d6ead9daf2355b9923479e24d7e93f246253ee6a5eb18a61b0f607219f341a80"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.docker_registry_image.prometheus"
]
}
]
},
{
"mode": "managed",
"type": "docker_image",
"name": "zigbee-2-mqtt",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:51e8df8e568c7002dca2a3bc51e628c08002f2c2f88aaf0daeef653aab8241afkoenkk/zigbee2mqtt",
"keep_locally": null,
"latest": "sha256:51e8df8e568c7002dca2a3bc51e628c08002f2c2f88aaf0daeef653aab8241af",
"name": "koenkk/zigbee2mqtt",
"output": null,
"pull_trigger": null,
"pull_triggers": [
"sha256:a152fa019f05d9712cce1da20c82b1c96557277954ad60d644114376623c9912"
],
"repo_digest": "koenkk/zigbee2mqtt@sha256:a152fa019f05d9712cce1da20c82b1c96557277954ad60d644114376623c9912"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.docker_registry_image.zigbee-2-mqtt"
]
}
]
},
{
"mode": "managed",
"type": "docker_network",
"name": "bridge",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"attachable": false,
"check_duplicate": null,
"driver": "qnet",
"id": "397392d6f21a3e2ff84fe5eda4165a77be1f19f92fa05f02d6c63dbf930471ff",
"ingress": false,
"internal": false,
"ipam_config": [
{
"aux_address": {},
"gateway": "192.168.2.254",
"ip_range": "",
"subnet": "192.168.2.0/24"
}
],
"ipam_driver": "qnet",
"ipv6": false,
"labels": [],
"name": "terraform-static-eth1-shared",
"options": {
"iface": "eth1"
},
"scope": "local"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
}
]
},
{
"mode": "managed",
"type": "docker_network",
"name": "mariadb",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"attachable": false,
"check_duplicate": null,
"driver": "bridge",
"id": "cfd1354ceedc53fa522e9a10c70d49b7ac7125727f501424b95bd405660b0847",
"ingress": false,
"internal": false,
"ipam_config": [
{
"aux_address": {},
"gateway": "172.29.4.1",
"ip_range": "",
"subnet": "172.29.4.0/22"
}
],
"ipam_driver": "default",
"ipv6": false,
"labels": [],
"name": "mariadb",
"options": {},
"scope": "local"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
}
]
},
{
"mode": "managed",
"type": "docker_network",
"name": "mosquitto",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"attachable": false,
"check_duplicate": null,
"driver": "bridge",
"id": "9c08255fe09b92b047babff032c02d9f63341c6e44648cb91acb1f210e4688b3",
"ingress": false,
"internal": false,
"ipam_config": [
{
"aux_address": {},
"gateway": "172.29.0.1",
"ip_range": "",
"subnet": "172.29.0.0/22"
}
],
"ipam_driver": "default",
"ipv6": false,
"labels": [],
"name": "mosquitto",
"options": {},
"scope": "local"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
}
]
},
{
"mode": "managed",
"type": "docker_network",
"name": "mqtt-exporter",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"attachable": false,
"check_duplicate": null,
"driver": "bridge",
"id": "b005dcb71f38fcd4158a8381e82d41108d3704efd54de37e99826c85330e7519",
"ingress": false,
"internal": false,
"ipam_config": [
{
"aux_address": {},
"gateway": "172.29.8.1",
"ip_range": "",
"subnet": "172.29.8.0/22"
}
],
"ipam_driver": "default",
"ipv6": false,
"labels": [],
"name": "mqtt-exporter",
"options": {},
"scope": "local"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
}
]
}
]
}