Add uptime kuma

This commit is contained in:
Marc Fokkert
2024-07-23 22:06:33 +02:00
parent 00b369124d
commit b7506d5209
3 changed files with 689 additions and 126 deletions

View File

@@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "1.5.4",
"serial": 3012,
"terraform_version": "1.5.5",
"serial": 3040,
"lineage": "fcc74498-a461-682e-d8e4-5bc8c6ea51ec",
"outputs": {},
"resources": [
@@ -86,10 +86,10 @@
{
"schema_version": 0,
"attributes": {
"id": "sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703",
"id": "sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229",
"insecure_skip_verify": false,
"name": "homeassistant/home-assistant:latest",
"sha256_digest": "sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703"
"sha256_digest": "sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229"
},
"sensitive_attributes": []
}
@@ -122,10 +122,10 @@
{
"schema_version": 0,
"attributes": {
"id": "sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19",
"id": "sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2",
"insecure_skip_verify": false,
"name": "eclipse-mosquitto:2",
"sha256_digest": "sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19"
"sha256_digest": "sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2"
},
"sensitive_attributes": []
}
@@ -302,10 +302,10 @@
{
"schema_version": 0,
"attributes": {
"id": "sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890",
"id": "sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696",
"insecure_skip_verify": false,
"name": "linuxserver/syncthing:latest",
"sha256_digest": "sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890"
"sha256_digest": "sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696"
},
"sensitive_attributes": []
}
@@ -338,10 +338,28 @@
{
"schema_version": 0,
"attributes": {
"id": "sha256:fa496261a406e64ecc03360466e80522a1fa3315f67a1b29a2ad05620af2efe7",
"id": "sha256:4005799e87ce26d0b53bbdbdacfba7fa9262717b4aaac2ed7829c754175a5425",
"insecure_skip_verify": false,
"name": "jacobalberty/unifi",
"sha256_digest": "sha256:fa496261a406e64ecc03360466e80522a1fa3315f67a1b29a2ad05620af2efe7"
"sha256_digest": "sha256:4005799e87ce26d0b53bbdbdacfba7fa9262717b4aaac2ed7829c754175a5425"
},
"sensitive_attributes": []
}
]
},
{
"mode": "data",
"type": "docker_registry_image",
"name": "uptime-kuma",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "sha256:96510915e6be539b76bcba2e6873591c67aca8a6075ff09f5b4723ae47f333fc",
"insecure_skip_verify": false,
"name": "louislam/uptime-kuma",
"sha256_digest": "sha256:96510915e6be539b76bcba2e6873591c67aca8a6075ff09f5b4723ae47f333fc"
},
"sensitive_attributes": []
}
@@ -1030,8 +1048,8 @@
"healthcheck": [],
"host": [],
"hostname": "hass",
"id": "f542c25ac5b8d5e0f5a8fdbda1dbd8df7b9d9289aea32502fcf7ab7476926622",
"image": "sha256:315a7d18372604fbcc49e6626ecbcb579bd4c4c7f09be0c7f57dfe04343a6f75",
"id": "89ab9852202e60f9ea88f24fbc502a1c5ee5c3ded4d6150c3186a0122fffb5e8",
"image": "sha256:d8ab1682ae0d0e14bf93842dabfc26f8b86bdc9aba9093fcf78dde2f56561582",
"init": false,
"ipc_mode": "private",
"labels": [],
@@ -1075,7 +1093,7 @@
"ip_address": "192.168.2.70",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:fa:fe:11:5b",
"mac_address": "02:42:85:0a:6a:00",
"network_name": "qnet-static-bond0-48e715"
}
],
@@ -1326,9 +1344,9 @@
"group_add": [],
"healthcheck": [],
"host": [],
"hostname": "12f7eb0ea574",
"id": "12f7eb0ea5745e06991d5301a711f82eb4718a80561167236188a886bbb18b10",
"image": "sha256:ca9e354e968d6622361582d6d9b7587ed7d2c00b29be636c0e208c8045ac9fcd",
"hostname": "d443c7bcd6c8",
"id": "d443c7bcd6c87e07b8c1fb04d29bc48de987d1a40e277df90d40d0f04696cc07",
"image": "sha256:71fa42d60ba5e52ab08c40050190082fc4b3198c6a5c09d85d0e155127717a41",
"init": false,
"ipc_mode": "private",
"labels": [],
@@ -1380,7 +1398,7 @@
"ip_address": "192.168.2.125",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:f5:ab:3d:1e",
"mac_address": "02:42:d9:73:3e:b7",
"network_name": "qnet-static-bond0-48e715"
}
],
@@ -1665,7 +1683,7 @@
"ip_address": "192.168.2.115",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:85:4e:b3:e9",
"mac_address": "02:42:55:6c:90:e4",
"network_name": "qnet-static-bond0-48e715"
}
],
@@ -2168,9 +2186,9 @@
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [],
"dns": null,
"dns_opts": null,
"dns_search": null,
"dns": [],
"dns_opts": [],
"dns_search": [],
"domainname": "",
"entrypoint": [
"/scripts/entrypoint.sh"
@@ -2184,8 +2202,8 @@
],
"exit_code": null,
"gpus": null,
"group_add": null,
"healthcheck": null,
"group_add": [],
"healthcheck": [],
"host": [],
"hostname": "1b99c8225c45",
"id": "1b99c8225c45e84c43e28f1c4dc34be10f12bca67ac35cd99bafc8a99ce5b8e3",
@@ -2205,7 +2223,7 @@
"mounts": [
{
"bind_options": [],
"read_only": null,
"read_only": false,
"source": "/share/CaptureOne/Variants",
"target": "/photoprism/originals/capture-one-variants",
"tmpfs_options": [],
@@ -2214,7 +2232,7 @@
},
{
"bind_options": [],
"read_only": null,
"read_only": false,
"source": "/share/appdata/photoprism-tineke/storage",
"target": "/photoprism/storage",
"tmpfs_options": [],
@@ -2260,11 +2278,17 @@
"stdin_open": false,
"stop_signal": "",
"stop_timeout": 0,
"storage_opts": null,
"sysctls": null,
"tmpfs": null,
"storage_opts": {},
"sysctls": {},
"tmpfs": {},
"tty": false,
"ulimit": [],
"ulimit": [
{
"hard": 65535,
"name": "nofile",
"soft": 65535
}
],
"upload": [],
"user": "",
"userns_mode": "",
@@ -2276,6 +2300,7 @@
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"data.docker_registry_image.photoprism",
"docker_image.photoprism",
"docker_network.bridge"
]
@@ -2999,9 +3024,9 @@
"group_add": [],
"healthcheck": [],
"host": [],
"hostname": "845eac248472",
"id": "845eac248472f357cd70b90ded434a36fac2478a1bdde3f88f2536d68bd08e65",
"image": "sha256:42af40608d68faa0f22eb03c18ee07d64a2b34e261fef89b1ca04d62e587e930",
"hostname": "e8941a2beb28",
"id": "e8941a2beb28c298eb04239370e30b9e8e10b34e13aee8ca0a06c50fc3bbb28e",
"image": "sha256:c027fbd2163288dea8e2d99e33794f3e2b1b3f57ba194672af1f57057f2f11f8",
"init": false,
"ipc_mode": "private",
"labels": [],
@@ -3035,7 +3060,7 @@
"ip_address": "192.168.2.119",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:61:31:6b:e6",
"mac_address": "02:42:52:dc:a5:b9",
"network_name": "qnet-static-bond0-48e715"
}
],
@@ -3170,16 +3195,6 @@
"must_run": true,
"name": "traccar",
"network_data": [
{
"gateway": "192.168.2.1",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.113",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:b7:d1:c5:57",
"network_name": "qnet-static-bond0-48e715"
},
{
"gateway": "172.29.0.1",
"global_ipv6_address": "",
@@ -3189,6 +3204,16 @@
"ipv6_gateway": "",
"mac_address": "02:42:ac:1d:00:03",
"network_name": "mariadb"
},
{
"gateway": "192.168.2.1",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.113",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:b7:d1:c5:57",
"network_name": "qnet-static-bond0-48e715"
}
],
"network_mode": "default",
@@ -3297,9 +3322,9 @@
}
],
"host": [],
"hostname": "422ce7616d07",
"id": "422ce7616d07bffe9bf429e1555cf3c67811ace4cc363367c58000bc14db045d",
"image": "sha256:93e518a19dc2c567dab3134055d3080e3c25a307901fe071591462e697d13006",
"hostname": "d969ec88e4a0",
"id": "d969ec88e4a0ee9746c53d7963b706d5d930c840ea5a5fc603a38290e7e4dcde",
"image": "sha256:6b7143ebc8f3b70a1939607d81af40e5baed01d91538bf51d9c1bdc8719b44e6",
"init": false,
"ipc_mode": "private",
"labels": [],
@@ -3333,7 +3358,7 @@
"ip_address": "192.168.2.67",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:78:75:73:81",
"mac_address": "02:42:78:a4:50:6a",
"network_name": "qnet-static-bond0-48e715"
}
],
@@ -3390,6 +3415,141 @@
}
]
},
{
"mode": "managed",
"type": "docker_container",
"name": "uptime-kuma",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 2,
"attributes": {
"attach": false,
"bridge": "",
"capabilities": [],
"cgroupns_mode": null,
"command": [
"node",
"server/server.js"
],
"container_logs": null,
"container_read_refresh_timeout_milliseconds": 15000,
"cpu_set": "",
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [],
"dns": null,
"dns_opts": null,
"dns_search": null,
"domainname": "",
"entrypoint": [
"/usr/bin/dumb-init",
"--",
"extra/entrypoint.sh"
],
"env": [],
"exit_code": null,
"gpus": null,
"group_add": null,
"healthcheck": [
{
"interval": "1m0s",
"retries": 5,
"start_period": "3m0s",
"test": [
"CMD-SHELL",
"extra/healthcheck"
],
"timeout": "30s"
}
],
"host": [],
"hostname": "86f0e7f121fd",
"id": "86f0e7f121fd8210cb926ea2a1f445029008044eb06ebba5b2ae045114374ebb",
"image": "sha256:e1ca7233c2fa8bf5680066e2fcbd37850ca0e0273920b9f694c7747b0ecaec2e",
"init": false,
"ipc_mode": "private",
"labels": [],
"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/uptime-kuma",
"target": "/app/data",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
}
],
"must_run": true,
"name": "uptime-kuma",
"network_data": [
{
"gateway": "192.168.2.1",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.133",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:8c:c1:8e:d2",
"network_name": "qnet-static-bond0-48e715"
}
],
"network_mode": "default",
"networks_advanced": [
{
"aliases": [],
"ipv4_address": "192.168.2.133",
"ipv6_address": "",
"name": "qnet-static-bond0-48e715"
}
],
"pid_mode": "",
"ports": [],
"privileged": false,
"publish_all_ports": false,
"read_only": false,
"remove_volumes": true,
"restart": "always",
"rm": false,
"runtime": "runc",
"security_opts": [],
"shm_size": 64,
"start": true,
"stdin_open": false,
"stop_signal": "",
"stop_timeout": 0,
"storage_opts": null,
"sysctls": null,
"tmpfs": null,
"tty": false,
"ulimit": [],
"upload": [],
"user": "",
"userns_mode": "",
"volumes": [],
"wait": false,
"wait_timeout": 60,
"working_dir": "/app"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"docker_image.uptime-kuma",
"docker_network.bridge"
]
}
]
},
{
"mode": "managed",
"type": "docker_container",
@@ -3808,15 +3968,15 @@
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:315a7d18372604fbcc49e6626ecbcb579bd4c4c7f09be0c7f57dfe04343a6f75homeassistant/home-assistant:latest",
"image_id": "sha256:315a7d18372604fbcc49e6626ecbcb579bd4c4c7f09be0c7f57dfe04343a6f75",
"id": "sha256:d8ab1682ae0d0e14bf93842dabfc26f8b86bdc9aba9093fcf78dde2f56561582homeassistant/home-assistant:latest",
"image_id": "sha256:d8ab1682ae0d0e14bf93842dabfc26f8b86bdc9aba9093fcf78dde2f56561582",
"keep_locally": null,
"name": "homeassistant/home-assistant:latest",
"platform": null,
"pull_triggers": [
"sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703"
"sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229"
],
"repo_digest": "homeassistant/home-assistant@sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703",
"repo_digest": "homeassistant/home-assistant@sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229",
"triggers": null
},
"sensitive_attributes": [],
@@ -3868,15 +4028,15 @@
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:ca9e354e968d6622361582d6d9b7587ed7d2c00b29be636c0e208c8045ac9fcdeclipse-mosquitto:2",
"image_id": "sha256:ca9e354e968d6622361582d6d9b7587ed7d2c00b29be636c0e208c8045ac9fcd",
"id": "sha256:71fa42d60ba5e52ab08c40050190082fc4b3198c6a5c09d85d0e155127717a41eclipse-mosquitto:2",
"image_id": "sha256:71fa42d60ba5e52ab08c40050190082fc4b3198c6a5c09d85d0e155127717a41",
"keep_locally": null,
"name": "eclipse-mosquitto:2",
"platform": null,
"pull_triggers": [
"sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19"
"sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2"
],
"repo_digest": "eclipse-mosquitto@sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19",
"repo_digest": "eclipse-mosquitto@sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2",
"triggers": null
},
"sensitive_attributes": [],
@@ -4193,15 +4353,15 @@
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:42af40608d68faa0f22eb03c18ee07d64a2b34e261fef89b1ca04d62e587e930linuxserver/syncthing:latest",
"image_id": "sha256:42af40608d68faa0f22eb03c18ee07d64a2b34e261fef89b1ca04d62e587e930",
"id": "sha256:c027fbd2163288dea8e2d99e33794f3e2b1b3f57ba194672af1f57057f2f11f8linuxserver/syncthing:latest",
"image_id": "sha256:c027fbd2163288dea8e2d99e33794f3e2b1b3f57ba194672af1f57057f2f11f8",
"keep_locally": null,
"name": "linuxserver/syncthing:latest",
"platform": null,
"pull_triggers": [
"sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890"
"sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696"
],
"repo_digest": "linuxserver/syncthing@sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890",
"repo_digest": "linuxserver/syncthing@sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696",
"triggers": null
},
"sensitive_attributes": [],
@@ -4253,15 +4413,15 @@
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:93e518a19dc2c567dab3134055d3080e3c25a307901fe071591462e697d13006jacobalberty/unifi",
"image_id": "sha256:93e518a19dc2c567dab3134055d3080e3c25a307901fe071591462e697d13006",
"id": "sha256:6b7143ebc8f3b70a1939607d81af40e5baed01d91538bf51d9c1bdc8719b44e6jacobalberty/unifi",
"image_id": "sha256:6b7143ebc8f3b70a1939607d81af40e5baed01d91538bf51d9c1bdc8719b44e6",
"keep_locally": null,
"name": "jacobalberty/unifi",
"platform": null,
"pull_triggers": [
"sha256:fa496261a406e64ecc03360466e80522a1fa3315f67a1b29a2ad05620af2efe7"
"sha256:4005799e87ce26d0b53bbdbdacfba7fa9262717b4aaac2ed7829c754175a5425"
],
"repo_digest": "jacobalberty/unifi@sha256:fa496261a406e64ecc03360466e80522a1fa3315f67a1b29a2ad05620af2efe7",
"repo_digest": "jacobalberty/unifi@sha256:4005799e87ce26d0b53bbdbdacfba7fa9262717b4aaac2ed7829c754175a5425",
"triggers": null
},
"sensitive_attributes": [],
@@ -4272,6 +4432,36 @@
}
]
},
{
"mode": "managed",
"type": "docker_image",
"name": "uptime-kuma",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"build": [],
"force_remove": null,
"id": "sha256:e1ca7233c2fa8bf5680066e2fcbd37850ca0e0273920b9f694c7747b0ecaec2elouislam/uptime-kuma",
"image_id": "sha256:e1ca7233c2fa8bf5680066e2fcbd37850ca0e0273920b9f694c7747b0ecaec2e",
"keep_locally": null,
"name": "louislam/uptime-kuma",
"platform": null,
"pull_triggers": [
"sha256:96510915e6be539b76bcba2e6873591c67aca8a6075ff09f5b4723ae47f333fc"
],
"repo_digest": "louislam/uptime-kuma@sha256:96510915e6be539b76bcba2e6873591c67aca8a6075ff09f5b4723ae47f333fc",
"triggers": null
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.docker_registry_image.uptime-kuma"
]
}
]
},
{
"mode": "managed",
"type": "docker_image",