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, "version": 4,
"terraform_version": "1.5.4", "terraform_version": "1.5.5",
"serial": 3012, "serial": 3040,
"lineage": "fcc74498-a461-682e-d8e4-5bc8c6ea51ec", "lineage": "fcc74498-a461-682e-d8e4-5bc8c6ea51ec",
"outputs": {}, "outputs": {},
"resources": [ "resources": [
@@ -86,10 +86,10 @@
{ {
"schema_version": 0, "schema_version": 0,
"attributes": { "attributes": {
"id": "sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703", "id": "sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229",
"insecure_skip_verify": false, "insecure_skip_verify": false,
"name": "homeassistant/home-assistant:latest", "name": "homeassistant/home-assistant:latest",
"sha256_digest": "sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703" "sha256_digest": "sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229"
}, },
"sensitive_attributes": [] "sensitive_attributes": []
} }
@@ -122,10 +122,10 @@
{ {
"schema_version": 0, "schema_version": 0,
"attributes": { "attributes": {
"id": "sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19", "id": "sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2",
"insecure_skip_verify": false, "insecure_skip_verify": false,
"name": "eclipse-mosquitto:2", "name": "eclipse-mosquitto:2",
"sha256_digest": "sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19" "sha256_digest": "sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2"
}, },
"sensitive_attributes": [] "sensitive_attributes": []
} }
@@ -302,10 +302,10 @@
{ {
"schema_version": 0, "schema_version": 0,
"attributes": { "attributes": {
"id": "sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890", "id": "sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696",
"insecure_skip_verify": false, "insecure_skip_verify": false,
"name": "linuxserver/syncthing:latest", "name": "linuxserver/syncthing:latest",
"sha256_digest": "sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890" "sha256_digest": "sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696"
}, },
"sensitive_attributes": [] "sensitive_attributes": []
} }
@@ -338,10 +338,28 @@
{ {
"schema_version": 0, "schema_version": 0,
"attributes": { "attributes": {
"id": "sha256:fa496261a406e64ecc03360466e80522a1fa3315f67a1b29a2ad05620af2efe7", "id": "sha256:4005799e87ce26d0b53bbdbdacfba7fa9262717b4aaac2ed7829c754175a5425",
"insecure_skip_verify": false, "insecure_skip_verify": false,
"name": "jacobalberty/unifi", "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": [] "sensitive_attributes": []
} }
@@ -1030,8 +1048,8 @@
"healthcheck": [], "healthcheck": [],
"host": [], "host": [],
"hostname": "hass", "hostname": "hass",
"id": "f542c25ac5b8d5e0f5a8fdbda1dbd8df7b9d9289aea32502fcf7ab7476926622", "id": "89ab9852202e60f9ea88f24fbc502a1c5ee5c3ded4d6150c3186a0122fffb5e8",
"image": "sha256:315a7d18372604fbcc49e6626ecbcb579bd4c4c7f09be0c7f57dfe04343a6f75", "image": "sha256:d8ab1682ae0d0e14bf93842dabfc26f8b86bdc9aba9093fcf78dde2f56561582",
"init": false, "init": false,
"ipc_mode": "private", "ipc_mode": "private",
"labels": [], "labels": [],
@@ -1075,7 +1093,7 @@
"ip_address": "192.168.2.70", "ip_address": "192.168.2.70",
"ip_prefix_length": 24, "ip_prefix_length": 24,
"ipv6_gateway": "", "ipv6_gateway": "",
"mac_address": "02:42:fa:fe:11:5b", "mac_address": "02:42:85:0a:6a:00",
"network_name": "qnet-static-bond0-48e715" "network_name": "qnet-static-bond0-48e715"
} }
], ],
@@ -1326,9 +1344,9 @@
"group_add": [], "group_add": [],
"healthcheck": [], "healthcheck": [],
"host": [], "host": [],
"hostname": "12f7eb0ea574", "hostname": "d443c7bcd6c8",
"id": "12f7eb0ea5745e06991d5301a711f82eb4718a80561167236188a886bbb18b10", "id": "d443c7bcd6c87e07b8c1fb04d29bc48de987d1a40e277df90d40d0f04696cc07",
"image": "sha256:ca9e354e968d6622361582d6d9b7587ed7d2c00b29be636c0e208c8045ac9fcd", "image": "sha256:71fa42d60ba5e52ab08c40050190082fc4b3198c6a5c09d85d0e155127717a41",
"init": false, "init": false,
"ipc_mode": "private", "ipc_mode": "private",
"labels": [], "labels": [],
@@ -1380,7 +1398,7 @@
"ip_address": "192.168.2.125", "ip_address": "192.168.2.125",
"ip_prefix_length": 24, "ip_prefix_length": 24,
"ipv6_gateway": "", "ipv6_gateway": "",
"mac_address": "02:42:f5:ab:3d:1e", "mac_address": "02:42:d9:73:3e:b7",
"network_name": "qnet-static-bond0-48e715" "network_name": "qnet-static-bond0-48e715"
} }
], ],
@@ -1665,7 +1683,7 @@
"ip_address": "192.168.2.115", "ip_address": "192.168.2.115",
"ip_prefix_length": 24, "ip_prefix_length": 24,
"ipv6_gateway": "", "ipv6_gateway": "",
"mac_address": "02:42:85:4e:b3:e9", "mac_address": "02:42:55:6c:90:e4",
"network_name": "qnet-static-bond0-48e715" "network_name": "qnet-static-bond0-48e715"
} }
], ],
@@ -2168,9 +2186,9 @@
"cpu_shares": 0, "cpu_shares": 0,
"destroy_grace_seconds": null, "destroy_grace_seconds": null,
"devices": [], "devices": [],
"dns": null, "dns": [],
"dns_opts": null, "dns_opts": [],
"dns_search": null, "dns_search": [],
"domainname": "", "domainname": "",
"entrypoint": [ "entrypoint": [
"/scripts/entrypoint.sh" "/scripts/entrypoint.sh"
@@ -2184,8 +2202,8 @@
], ],
"exit_code": null, "exit_code": null,
"gpus": null, "gpus": null,
"group_add": null, "group_add": [],
"healthcheck": null, "healthcheck": [],
"host": [], "host": [],
"hostname": "1b99c8225c45", "hostname": "1b99c8225c45",
"id": "1b99c8225c45e84c43e28f1c4dc34be10f12bca67ac35cd99bafc8a99ce5b8e3", "id": "1b99c8225c45e84c43e28f1c4dc34be10f12bca67ac35cd99bafc8a99ce5b8e3",
@@ -2205,7 +2223,7 @@
"mounts": [ "mounts": [
{ {
"bind_options": [], "bind_options": [],
"read_only": null, "read_only": false,
"source": "/share/CaptureOne/Variants", "source": "/share/CaptureOne/Variants",
"target": "/photoprism/originals/capture-one-variants", "target": "/photoprism/originals/capture-one-variants",
"tmpfs_options": [], "tmpfs_options": [],
@@ -2214,7 +2232,7 @@
}, },
{ {
"bind_options": [], "bind_options": [],
"read_only": null, "read_only": false,
"source": "/share/appdata/photoprism-tineke/storage", "source": "/share/appdata/photoprism-tineke/storage",
"target": "/photoprism/storage", "target": "/photoprism/storage",
"tmpfs_options": [], "tmpfs_options": [],
@@ -2260,11 +2278,17 @@
"stdin_open": false, "stdin_open": false,
"stop_signal": "", "stop_signal": "",
"stop_timeout": 0, "stop_timeout": 0,
"storage_opts": null, "storage_opts": {},
"sysctls": null, "sysctls": {},
"tmpfs": null, "tmpfs": {},
"tty": false, "tty": false,
"ulimit": [], "ulimit": [
{
"hard": 65535,
"name": "nofile",
"soft": 65535
}
],
"upload": [], "upload": [],
"user": "", "user": "",
"userns_mode": "", "userns_mode": "",
@@ -2276,6 +2300,7 @@
"sensitive_attributes": [], "sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [ "dependencies": [
"data.docker_registry_image.photoprism",
"docker_image.photoprism", "docker_image.photoprism",
"docker_network.bridge" "docker_network.bridge"
] ]
@@ -2999,9 +3024,9 @@
"group_add": [], "group_add": [],
"healthcheck": [], "healthcheck": [],
"host": [], "host": [],
"hostname": "845eac248472", "hostname": "e8941a2beb28",
"id": "845eac248472f357cd70b90ded434a36fac2478a1bdde3f88f2536d68bd08e65", "id": "e8941a2beb28c298eb04239370e30b9e8e10b34e13aee8ca0a06c50fc3bbb28e",
"image": "sha256:42af40608d68faa0f22eb03c18ee07d64a2b34e261fef89b1ca04d62e587e930", "image": "sha256:c027fbd2163288dea8e2d99e33794f3e2b1b3f57ba194672af1f57057f2f11f8",
"init": false, "init": false,
"ipc_mode": "private", "ipc_mode": "private",
"labels": [], "labels": [],
@@ -3035,7 +3060,7 @@
"ip_address": "192.168.2.119", "ip_address": "192.168.2.119",
"ip_prefix_length": 24, "ip_prefix_length": 24,
"ipv6_gateway": "", "ipv6_gateway": "",
"mac_address": "02:42:61:31:6b:e6", "mac_address": "02:42:52:dc:a5:b9",
"network_name": "qnet-static-bond0-48e715" "network_name": "qnet-static-bond0-48e715"
} }
], ],
@@ -3170,16 +3195,6 @@
"must_run": true, "must_run": true,
"name": "traccar", "name": "traccar",
"network_data": [ "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", "gateway": "172.29.0.1",
"global_ipv6_address": "", "global_ipv6_address": "",
@@ -3189,6 +3204,16 @@
"ipv6_gateway": "", "ipv6_gateway": "",
"mac_address": "02:42:ac:1d:00:03", "mac_address": "02:42:ac:1d:00:03",
"network_name": "mariadb" "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", "network_mode": "default",
@@ -3297,9 +3322,9 @@
} }
], ],
"host": [], "host": [],
"hostname": "422ce7616d07", "hostname": "d969ec88e4a0",
"id": "422ce7616d07bffe9bf429e1555cf3c67811ace4cc363367c58000bc14db045d", "id": "d969ec88e4a0ee9746c53d7963b706d5d930c840ea5a5fc603a38290e7e4dcde",
"image": "sha256:93e518a19dc2c567dab3134055d3080e3c25a307901fe071591462e697d13006", "image": "sha256:6b7143ebc8f3b70a1939607d81af40e5baed01d91538bf51d9c1bdc8719b44e6",
"init": false, "init": false,
"ipc_mode": "private", "ipc_mode": "private",
"labels": [], "labels": [],
@@ -3333,7 +3358,7 @@
"ip_address": "192.168.2.67", "ip_address": "192.168.2.67",
"ip_prefix_length": 24, "ip_prefix_length": 24,
"ipv6_gateway": "", "ipv6_gateway": "",
"mac_address": "02:42:78:75:73:81", "mac_address": "02:42:78:a4:50:6a",
"network_name": "qnet-static-bond0-48e715" "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", "mode": "managed",
"type": "docker_container", "type": "docker_container",
@@ -3808,15 +3968,15 @@
"attributes": { "attributes": {
"build": [], "build": [],
"force_remove": null, "force_remove": null,
"id": "sha256:315a7d18372604fbcc49e6626ecbcb579bd4c4c7f09be0c7f57dfe04343a6f75homeassistant/home-assistant:latest", "id": "sha256:d8ab1682ae0d0e14bf93842dabfc26f8b86bdc9aba9093fcf78dde2f56561582homeassistant/home-assistant:latest",
"image_id": "sha256:315a7d18372604fbcc49e6626ecbcb579bd4c4c7f09be0c7f57dfe04343a6f75", "image_id": "sha256:d8ab1682ae0d0e14bf93842dabfc26f8b86bdc9aba9093fcf78dde2f56561582",
"keep_locally": null, "keep_locally": null,
"name": "homeassistant/home-assistant:latest", "name": "homeassistant/home-assistant:latest",
"platform": null, "platform": null,
"pull_triggers": [ "pull_triggers": [
"sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703" "sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229"
], ],
"repo_digest": "homeassistant/home-assistant@sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703", "repo_digest": "homeassistant/home-assistant@sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229",
"triggers": null "triggers": null
}, },
"sensitive_attributes": [], "sensitive_attributes": [],
@@ -3868,15 +4028,15 @@
"attributes": { "attributes": {
"build": [], "build": [],
"force_remove": null, "force_remove": null,
"id": "sha256:ca9e354e968d6622361582d6d9b7587ed7d2c00b29be636c0e208c8045ac9fcdeclipse-mosquitto:2", "id": "sha256:71fa42d60ba5e52ab08c40050190082fc4b3198c6a5c09d85d0e155127717a41eclipse-mosquitto:2",
"image_id": "sha256:ca9e354e968d6622361582d6d9b7587ed7d2c00b29be636c0e208c8045ac9fcd", "image_id": "sha256:71fa42d60ba5e52ab08c40050190082fc4b3198c6a5c09d85d0e155127717a41",
"keep_locally": null, "keep_locally": null,
"name": "eclipse-mosquitto:2", "name": "eclipse-mosquitto:2",
"platform": null, "platform": null,
"pull_triggers": [ "pull_triggers": [
"sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19" "sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2"
], ],
"repo_digest": "eclipse-mosquitto@sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19", "repo_digest": "eclipse-mosquitto@sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2",
"triggers": null "triggers": null
}, },
"sensitive_attributes": [], "sensitive_attributes": [],
@@ -4193,15 +4353,15 @@
"attributes": { "attributes": {
"build": [], "build": [],
"force_remove": null, "force_remove": null,
"id": "sha256:42af40608d68faa0f22eb03c18ee07d64a2b34e261fef89b1ca04d62e587e930linuxserver/syncthing:latest", "id": "sha256:c027fbd2163288dea8e2d99e33794f3e2b1b3f57ba194672af1f57057f2f11f8linuxserver/syncthing:latest",
"image_id": "sha256:42af40608d68faa0f22eb03c18ee07d64a2b34e261fef89b1ca04d62e587e930", "image_id": "sha256:c027fbd2163288dea8e2d99e33794f3e2b1b3f57ba194672af1f57057f2f11f8",
"keep_locally": null, "keep_locally": null,
"name": "linuxserver/syncthing:latest", "name": "linuxserver/syncthing:latest",
"platform": null, "platform": null,
"pull_triggers": [ "pull_triggers": [
"sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890" "sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696"
], ],
"repo_digest": "linuxserver/syncthing@sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890", "repo_digest": "linuxserver/syncthing@sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696",
"triggers": null "triggers": null
}, },
"sensitive_attributes": [], "sensitive_attributes": [],
@@ -4253,15 +4413,15 @@
"attributes": { "attributes": {
"build": [], "build": [],
"force_remove": null, "force_remove": null,
"id": "sha256:93e518a19dc2c567dab3134055d3080e3c25a307901fe071591462e697d13006jacobalberty/unifi", "id": "sha256:6b7143ebc8f3b70a1939607d81af40e5baed01d91538bf51d9c1bdc8719b44e6jacobalberty/unifi",
"image_id": "sha256:93e518a19dc2c567dab3134055d3080e3c25a307901fe071591462e697d13006", "image_id": "sha256:6b7143ebc8f3b70a1939607d81af40e5baed01d91538bf51d9c1bdc8719b44e6",
"keep_locally": null, "keep_locally": null,
"name": "jacobalberty/unifi", "name": "jacobalberty/unifi",
"platform": null, "platform": null,
"pull_triggers": [ "pull_triggers": [
"sha256:fa496261a406e64ecc03360466e80522a1fa3315f67a1b29a2ad05620af2efe7" "sha256:4005799e87ce26d0b53bbdbdacfba7fa9262717b4aaac2ed7829c754175a5425"
], ],
"repo_digest": "jacobalberty/unifi@sha256:fa496261a406e64ecc03360466e80522a1fa3315f67a1b29a2ad05620af2efe7", "repo_digest": "jacobalberty/unifi@sha256:4005799e87ce26d0b53bbdbdacfba7fa9262717b4aaac2ed7829c754175a5425",
"triggers": null "triggers": null
}, },
"sensitive_attributes": [], "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", "mode": "managed",
"type": "docker_image", "type": "docker_image",

View File

@@ -1,7 +1,7 @@
{ {
"version": 4, "version": 4,
"terraform_version": "1.5.4", "terraform_version": "1.5.5",
"serial": 3010, "serial": 3038,
"lineage": "fcc74498-a461-682e-d8e4-5bc8c6ea51ec", "lineage": "fcc74498-a461-682e-d8e4-5bc8c6ea51ec",
"outputs": {}, "outputs": {},
"resources": [ "resources": [
@@ -86,10 +86,10 @@
{ {
"schema_version": 0, "schema_version": 0,
"attributes": { "attributes": {
"id": "sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703", "id": "sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229",
"insecure_skip_verify": false, "insecure_skip_verify": false,
"name": "homeassistant/home-assistant:latest", "name": "homeassistant/home-assistant:latest",
"sha256_digest": "sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703" "sha256_digest": "sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229"
}, },
"sensitive_attributes": [] "sensitive_attributes": []
} }
@@ -122,10 +122,10 @@
{ {
"schema_version": 0, "schema_version": 0,
"attributes": { "attributes": {
"id": "sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19", "id": "sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2",
"insecure_skip_verify": false, "insecure_skip_verify": false,
"name": "eclipse-mosquitto:2", "name": "eclipse-mosquitto:2",
"sha256_digest": "sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19" "sha256_digest": "sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2"
}, },
"sensitive_attributes": [] "sensitive_attributes": []
} }
@@ -302,10 +302,10 @@
{ {
"schema_version": 0, "schema_version": 0,
"attributes": { "attributes": {
"id": "sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890", "id": "sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696",
"insecure_skip_verify": false, "insecure_skip_verify": false,
"name": "linuxserver/syncthing:latest", "name": "linuxserver/syncthing:latest",
"sha256_digest": "sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890" "sha256_digest": "sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696"
}, },
"sensitive_attributes": [] "sensitive_attributes": []
} }
@@ -338,10 +338,28 @@
{ {
"schema_version": 0, "schema_version": 0,
"attributes": { "attributes": {
"id": "sha256:fa496261a406e64ecc03360466e80522a1fa3315f67a1b29a2ad05620af2efe7", "id": "sha256:4005799e87ce26d0b53bbdbdacfba7fa9262717b4aaac2ed7829c754175a5425",
"insecure_skip_verify": false, "insecure_skip_verify": false,
"name": "jacobalberty/unifi", "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": [] "sensitive_attributes": []
} }
@@ -1030,8 +1048,8 @@
"healthcheck": [], "healthcheck": [],
"host": [], "host": [],
"hostname": "hass", "hostname": "hass",
"id": "f542c25ac5b8d5e0f5a8fdbda1dbd8df7b9d9289aea32502fcf7ab7476926622", "id": "89ab9852202e60f9ea88f24fbc502a1c5ee5c3ded4d6150c3186a0122fffb5e8",
"image": "sha256:315a7d18372604fbcc49e6626ecbcb579bd4c4c7f09be0c7f57dfe04343a6f75", "image": "sha256:d8ab1682ae0d0e14bf93842dabfc26f8b86bdc9aba9093fcf78dde2f56561582",
"init": false, "init": false,
"ipc_mode": "private", "ipc_mode": "private",
"labels": [], "labels": [],
@@ -1058,6 +1076,16 @@
"must_run": true, "must_run": true,
"name": "home-assistant", "name": "home-assistant",
"network_data": [ "network_data": [
{
"gateway": "192.168.2.1",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.70",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:85:0a:6a:00",
"network_name": "qnet-static-bond0-48e715"
},
{ {
"gateway": "172.29.0.1", "gateway": "172.29.0.1",
"global_ipv6_address": "", "global_ipv6_address": "",
@@ -1067,16 +1095,6 @@
"ipv6_gateway": "", "ipv6_gateway": "",
"mac_address": "02:42:ac:1d:00:05", "mac_address": "02:42:ac:1d:00:05",
"network_name": "mariadb" "network_name": "mariadb"
},
{
"gateway": "192.168.2.1",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.70",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:fa:fe:11:5b",
"network_name": "qnet-static-bond0-48e715"
} }
], ],
"network_mode": "default", "network_mode": "default",
@@ -1326,9 +1344,9 @@
"group_add": [], "group_add": [],
"healthcheck": [], "healthcheck": [],
"host": [], "host": [],
"hostname": "12f7eb0ea574", "hostname": "d443c7bcd6c8",
"id": "12f7eb0ea5745e06991d5301a711f82eb4718a80561167236188a886bbb18b10", "id": "d443c7bcd6c87e07b8c1fb04d29bc48de987d1a40e277df90d40d0f04696cc07",
"image": "sha256:ca9e354e968d6622361582d6d9b7587ed7d2c00b29be636c0e208c8045ac9fcd", "image": "sha256:71fa42d60ba5e52ab08c40050190082fc4b3198c6a5c09d85d0e155127717a41",
"init": false, "init": false,
"ipc_mode": "private", "ipc_mode": "private",
"labels": [], "labels": [],
@@ -1380,7 +1398,7 @@
"ip_address": "192.168.2.125", "ip_address": "192.168.2.125",
"ip_prefix_length": 24, "ip_prefix_length": 24,
"ipv6_gateway": "", "ipv6_gateway": "",
"mac_address": "02:42:f5:ab:3d:1e", "mac_address": "02:42:d9:73:3e:b7",
"network_name": "qnet-static-bond0-48e715" "network_name": "qnet-static-bond0-48e715"
} }
], ],
@@ -1665,7 +1683,7 @@
"ip_address": "192.168.2.115", "ip_address": "192.168.2.115",
"ip_prefix_length": 24, "ip_prefix_length": 24,
"ipv6_gateway": "", "ipv6_gateway": "",
"mac_address": "02:42:a1:ac:ff:a3", "mac_address": "02:42:55:6c:90:e4",
"network_name": "qnet-static-bond0-48e715" "network_name": "qnet-static-bond0-48e715"
} }
], ],
@@ -2015,9 +2033,9 @@
"cpu_shares": 0, "cpu_shares": 0,
"destroy_grace_seconds": null, "destroy_grace_seconds": null,
"devices": [], "devices": [],
"dns": null, "dns": [],
"dns_opts": null, "dns_opts": [],
"dns_search": null, "dns_search": [],
"domainname": "", "domainname": "",
"entrypoint": [ "entrypoint": [
"/scripts/entrypoint.sh" "/scripts/entrypoint.sh"
@@ -2031,8 +2049,8 @@
], ],
"exit_code": null, "exit_code": null,
"gpus": null, "gpus": null,
"group_add": null, "group_add": [],
"healthcheck": null, "healthcheck": [],
"host": [], "host": [],
"hostname": "7a2a11690fcc", "hostname": "7a2a11690fcc",
"id": "7a2a11690fccfcea61ae6e8de9f02216e1cbad8a11a6bb18d2181f5c69c9904c", "id": "7a2a11690fccfcea61ae6e8de9f02216e1cbad8a11a6bb18d2181f5c69c9904c",
@@ -2052,7 +2070,7 @@
"mounts": [ "mounts": [
{ {
"bind_options": [], "bind_options": [],
"read_only": null, "read_only": false,
"source": "/share/CaptureOne/Variants", "source": "/share/CaptureOne/Variants",
"target": "/photoprism/originals/capture-one-variants", "target": "/photoprism/originals/capture-one-variants",
"tmpfs_options": [], "tmpfs_options": [],
@@ -2061,7 +2079,7 @@
}, },
{ {
"bind_options": [], "bind_options": [],
"read_only": null, "read_only": false,
"source": "/share/appdata/photoprism/storage", "source": "/share/appdata/photoprism/storage",
"target": "/photoprism/storage", "target": "/photoprism/storage",
"tmpfs_options": [], "tmpfs_options": [],
@@ -2070,7 +2088,7 @@
}, },
{ {
"bind_options": [], "bind_options": [],
"read_only": null, "read_only": false,
"source": "/share/appdata/syncthing/Camera", "source": "/share/appdata/syncthing/Camera",
"target": "/photoprism/originals/camera", "target": "/photoprism/originals/camera",
"tmpfs_options": [], "tmpfs_options": [],
@@ -2116,11 +2134,17 @@
"stdin_open": false, "stdin_open": false,
"stop_signal": "", "stop_signal": "",
"stop_timeout": 0, "stop_timeout": 0,
"storage_opts": null, "storage_opts": {},
"sysctls": null, "sysctls": {},
"tmpfs": null, "tmpfs": {},
"tty": false, "tty": false,
"ulimit": [], "ulimit": [
{
"hard": 65535,
"name": "nofile",
"soft": 65535
}
],
"upload": [], "upload": [],
"user": "", "user": "",
"userns_mode": "", "userns_mode": "",
@@ -2132,6 +2156,151 @@
"sensitive_attributes": [], "sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [ "dependencies": [
"data.docker_registry_image.photoprism",
"docker_image.photoprism",
"docker_network.bridge"
]
}
]
},
{
"mode": "managed",
"type": "docker_container",
"name": "photoprism-tineke",
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
"instances": [
{
"schema_version": 2,
"attributes": {
"attach": false,
"bridge": "",
"capabilities": [],
"cgroupns_mode": null,
"command": [
"/opt/photoprism/bin/photoprism",
"start"
],
"container_logs": null,
"container_read_refresh_timeout_milliseconds": 15000,
"cpu_set": "",
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [],
"dns": [],
"dns_opts": [],
"dns_search": [],
"domainname": "",
"entrypoint": [
"/scripts/entrypoint.sh"
],
"env": [
"PHOTOPRISM_ADMIN_PASSWORD=pyjm73tM%UPa8B5t5zhWX*F",
"PHOTOPRISM_DISABLE_TLS=true",
"PHOTOPRISM_HTTP_HOST=192.168.2.132",
"PHOTOPRISM_HTTP_HOSTNAME=photoprism-tineke.rescla.me",
"PHOTOPRISM_UPLOAD_NSFW=true"
],
"exit_code": null,
"gpus": null,
"group_add": [],
"healthcheck": [],
"host": [],
"hostname": "1b99c8225c45",
"id": "1b99c8225c45e84c43e28f1c4dc34be10f12bca67ac35cd99bafc8a99ce5b8e3",
"image": "sha256:e96d2e8093773d33581ee4b69b9f5efafebafcd06901c29bbf45ec0516e1582b",
"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": false,
"source": "/share/CaptureOne/Variants",
"target": "/photoprism/originals/capture-one-variants",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
},
{
"bind_options": [],
"read_only": false,
"source": "/share/appdata/photoprism-tineke/storage",
"target": "/photoprism/storage",
"tmpfs_options": [],
"type": "bind",
"volume_options": []
}
],
"must_run": true,
"name": "photoprism-tineke",
"network_data": [
{
"gateway": "192.168.2.1",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.132",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:30:38:c7:10",
"network_name": "qnet-static-bond0-48e715"
}
],
"network_mode": "default",
"networks_advanced": [
{
"aliases": [],
"ipv4_address": "192.168.2.132",
"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": {},
"sysctls": {},
"tmpfs": {},
"tty": false,
"ulimit": [
{
"hard": 65535,
"name": "nofile",
"soft": 65535
}
],
"upload": [],
"user": "",
"userns_mode": "",
"volumes": [],
"wait": false,
"wait_timeout": 60,
"working_dir": "/photoprism"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"data.docker_registry_image.photoprism",
"docker_image.photoprism", "docker_image.photoprism",
"docker_network.bridge" "docker_network.bridge"
] ]
@@ -2855,9 +3024,9 @@
"group_add": [], "group_add": [],
"healthcheck": [], "healthcheck": [],
"host": [], "host": [],
"hostname": "845eac248472", "hostname": "e8941a2beb28",
"id": "845eac248472f357cd70b90ded434a36fac2478a1bdde3f88f2536d68bd08e65", "id": "e8941a2beb28c298eb04239370e30b9e8e10b34e13aee8ca0a06c50fc3bbb28e",
"image": "sha256:42af40608d68faa0f22eb03c18ee07d64a2b34e261fef89b1ca04d62e587e930", "image": "sha256:c027fbd2163288dea8e2d99e33794f3e2b1b3f57ba194672af1f57057f2f11f8",
"init": false, "init": false,
"ipc_mode": "private", "ipc_mode": "private",
"labels": [], "labels": [],
@@ -2891,7 +3060,7 @@
"ip_address": "192.168.2.119", "ip_address": "192.168.2.119",
"ip_prefix_length": 24, "ip_prefix_length": 24,
"ipv6_gateway": "", "ipv6_gateway": "",
"mac_address": "02:42:61:31:6b:e6", "mac_address": "02:42:52:dc:a5:b9",
"network_name": "qnet-static-bond0-48e715" "network_name": "qnet-static-bond0-48e715"
} }
], ],
@@ -3153,9 +3322,9 @@
} }
], ],
"host": [], "host": [],
"hostname": "422ce7616d07", "hostname": "d969ec88e4a0",
"id": "422ce7616d07bffe9bf429e1555cf3c67811ace4cc363367c58000bc14db045d", "id": "d969ec88e4a0ee9746c53d7963b706d5d930c840ea5a5fc603a38290e7e4dcde",
"image": "sha256:93e518a19dc2c567dab3134055d3080e3c25a307901fe071591462e697d13006", "image": "sha256:6b7143ebc8f3b70a1939607d81af40e5baed01d91538bf51d9c1bdc8719b44e6",
"init": false, "init": false,
"ipc_mode": "private", "ipc_mode": "private",
"labels": [], "labels": [],
@@ -3189,7 +3358,7 @@
"ip_address": "192.168.2.67", "ip_address": "192.168.2.67",
"ip_prefix_length": 24, "ip_prefix_length": 24,
"ipv6_gateway": "", "ipv6_gateway": "",
"mac_address": "02:42:78:75:73:81", "mac_address": "02:42:78:a4:50:6a",
"network_name": "qnet-static-bond0-48e715" "network_name": "qnet-static-bond0-48e715"
} }
], ],
@@ -3246,6 +3415,147 @@
} }
] ]
}, },
{
"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": [],
"dns_opts": [],
"dns_search": [],
"domainname": "",
"entrypoint": [
"/usr/bin/dumb-init",
"--",
"extra/entrypoint.sh"
],
"env": [],
"exit_code": null,
"gpus": null,
"group_add": [],
"healthcheck": [
{
"interval": "1m0s",
"retries": 5,
"start_period": "3m0s",
"test": [
"CMD-SHELL",
"extra/healthcheck"
],
"timeout": "30s"
}
],
"host": [],
"hostname": "b0e53822e233",
"id": "b0e53822e2336be2a90a1b7189a24426990b1cb7cc0d5771aaf36e6277c0a295",
"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:70:cf:83:f6",
"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": {},
"sysctls": {},
"tmpfs": {},
"tty": false,
"ulimit": [
{
"hard": 65535,
"name": "nofile",
"soft": 65535
}
],
"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", "mode": "managed",
"type": "docker_container", "type": "docker_container",
@@ -3664,15 +3974,15 @@
"attributes": { "attributes": {
"build": [], "build": [],
"force_remove": null, "force_remove": null,
"id": "sha256:315a7d18372604fbcc49e6626ecbcb579bd4c4c7f09be0c7f57dfe04343a6f75homeassistant/home-assistant:latest", "id": "sha256:d8ab1682ae0d0e14bf93842dabfc26f8b86bdc9aba9093fcf78dde2f56561582homeassistant/home-assistant:latest",
"image_id": "sha256:315a7d18372604fbcc49e6626ecbcb579bd4c4c7f09be0c7f57dfe04343a6f75", "image_id": "sha256:d8ab1682ae0d0e14bf93842dabfc26f8b86bdc9aba9093fcf78dde2f56561582",
"keep_locally": null, "keep_locally": null,
"name": "homeassistant/home-assistant:latest", "name": "homeassistant/home-assistant:latest",
"platform": null, "platform": null,
"pull_triggers": [ "pull_triggers": [
"sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703" "sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229"
], ],
"repo_digest": "homeassistant/home-assistant@sha256:e2ef2c7ba01689af8324b46558bd478daf5418c6a1abaec299bba05fd5ae0703", "repo_digest": "homeassistant/home-assistant@sha256:f8f13f6da9b38f6e33b9c40fded2a84ccd13ad69eb2a7e53bb045778fbccc229",
"triggers": null "triggers": null
}, },
"sensitive_attributes": [], "sensitive_attributes": [],
@@ -3724,15 +4034,15 @@
"attributes": { "attributes": {
"build": [], "build": [],
"force_remove": null, "force_remove": null,
"id": "sha256:ca9e354e968d6622361582d6d9b7587ed7d2c00b29be636c0e208c8045ac9fcdeclipse-mosquitto:2", "id": "sha256:71fa42d60ba5e52ab08c40050190082fc4b3198c6a5c09d85d0e155127717a41eclipse-mosquitto:2",
"image_id": "sha256:ca9e354e968d6622361582d6d9b7587ed7d2c00b29be636c0e208c8045ac9fcd", "image_id": "sha256:71fa42d60ba5e52ab08c40050190082fc4b3198c6a5c09d85d0e155127717a41",
"keep_locally": null, "keep_locally": null,
"name": "eclipse-mosquitto:2", "name": "eclipse-mosquitto:2",
"platform": null, "platform": null,
"pull_triggers": [ "pull_triggers": [
"sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19" "sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2"
], ],
"repo_digest": "eclipse-mosquitto@sha256:82512b0c9abd55041eb99c4620a7a8f4325317404671065d138393790818bf19", "repo_digest": "eclipse-mosquitto@sha256:0dade801eb979962bcfebe7545296be24f4b25aad26df63e0140f6b2161471a2",
"triggers": null "triggers": null
}, },
"sensitive_attributes": [], "sensitive_attributes": [],
@@ -4049,15 +4359,15 @@
"attributes": { "attributes": {
"build": [], "build": [],
"force_remove": null, "force_remove": null,
"id": "sha256:42af40608d68faa0f22eb03c18ee07d64a2b34e261fef89b1ca04d62e587e930linuxserver/syncthing:latest", "id": "sha256:c027fbd2163288dea8e2d99e33794f3e2b1b3f57ba194672af1f57057f2f11f8linuxserver/syncthing:latest",
"image_id": "sha256:42af40608d68faa0f22eb03c18ee07d64a2b34e261fef89b1ca04d62e587e930", "image_id": "sha256:c027fbd2163288dea8e2d99e33794f3e2b1b3f57ba194672af1f57057f2f11f8",
"keep_locally": null, "keep_locally": null,
"name": "linuxserver/syncthing:latest", "name": "linuxserver/syncthing:latest",
"platform": null, "platform": null,
"pull_triggers": [ "pull_triggers": [
"sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890" "sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696"
], ],
"repo_digest": "linuxserver/syncthing@sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890", "repo_digest": "linuxserver/syncthing@sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696",
"triggers": null "triggers": null
}, },
"sensitive_attributes": [], "sensitive_attributes": [],
@@ -4109,15 +4419,15 @@
"attributes": { "attributes": {
"build": [], "build": [],
"force_remove": null, "force_remove": null,
"id": "sha256:93e518a19dc2c567dab3134055d3080e3c25a307901fe071591462e697d13006jacobalberty/unifi", "id": "sha256:6b7143ebc8f3b70a1939607d81af40e5baed01d91538bf51d9c1bdc8719b44e6jacobalberty/unifi",
"image_id": "sha256:93e518a19dc2c567dab3134055d3080e3c25a307901fe071591462e697d13006", "image_id": "sha256:6b7143ebc8f3b70a1939607d81af40e5baed01d91538bf51d9c1bdc8719b44e6",
"keep_locally": null, "keep_locally": null,
"name": "jacobalberty/unifi", "name": "jacobalberty/unifi",
"platform": null, "platform": null,
"pull_triggers": [ "pull_triggers": [
"sha256:fa496261a406e64ecc03360466e80522a1fa3315f67a1b29a2ad05620af2efe7" "sha256:4005799e87ce26d0b53bbdbdacfba7fa9262717b4aaac2ed7829c754175a5425"
], ],
"repo_digest": "jacobalberty/unifi@sha256:fa496261a406e64ecc03360466e80522a1fa3315f67a1b29a2ad05620af2efe7", "repo_digest": "jacobalberty/unifi@sha256:4005799e87ce26d0b53bbdbdacfba7fa9262717b4aaac2ed7829c754175a5425",
"triggers": null "triggers": null
}, },
"sensitive_attributes": [], "sensitive_attributes": [],
@@ -4128,6 +4438,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", "mode": "managed",
"type": "docker_image", "type": "docker_image",

33
uptime-kuma.tf Normal file
View File

@@ -0,0 +1,33 @@
data "docker_registry_image" "uptime-kuma" {
name = "louislam/uptime-kuma"
}
resource "docker_image" "uptime-kuma" {
name = data.docker_registry_image.uptime-kuma.name
pull_triggers = [data.docker_registry_image.uptime-kuma.sha256_digest]
}
resource "docker_container" "uptime-kuma" {
image = docker_image.uptime-kuma.image_id
name = "uptime-kuma"
restart = "always"
mounts {
target = "/app/data"
source = "/share/appdata/uptime-kuma"
type = "bind"
}
networks_advanced {
name = docker_network.bridge.name
ipv4_address = "192.168.2.133"
}
lifecycle {
ignore_changes = [
ulimit,
log_opts
]
}
}