From b1e9cd43ee3e18f0b50149b40278870cd7d2c3c0 Mon Sep 17 00:00:00 2001 From: Marc Fokkert Date: Tue, 4 Mar 2025 11:18:53 +0100 Subject: [PATCH] Add bazarr, homer, lidarr and whisper-asr --- bazarr.tf | 49 ++ homer.tf | 44 ++ lidarr.tf | 45 ++ terraform.tfstate | 957 +++++++++++++++++++++++++++++++++++---- terraform.tfstate.backup | 903 +++++++++++++++++++++++++++++++----- whisper-asr.tf | 36 ++ 6 files changed, 1836 insertions(+), 198 deletions(-) create mode 100644 bazarr.tf create mode 100644 homer.tf create mode 100644 lidarr.tf create mode 100644 whisper-asr.tf diff --git a/bazarr.tf b/bazarr.tf new file mode 100644 index 0000000..f7cfaa8 --- /dev/null +++ b/bazarr.tf @@ -0,0 +1,49 @@ +data "docker_registry_image" "bazarr" { + name = "lscr.io/linuxserver/bazarr:latest" +} + +resource "docker_image" "bazarr" { + name = data.docker_registry_image.bazarr.name + pull_triggers = [data.docker_registry_image.bazarr.sha256_digest] +} + +resource "docker_container" "bazarr" { + image = docker_image.bazarr.image_id + name = "bazarr" + restart = "always" + + log_driver = "local" + + env = [ + "PUID=1000", + "PGID=1000", + "TZ=Europe/Amsterdam" + ] + + networks_advanced { + name = docker_network.bridge.name + ipv4_address = "192.168.2.152" + } + + networks_advanced { + name = docker_network.whisper-asr.name + } + + mounts { + target = "/config" + source = "/share/appdata/bazarr" + type = "bind" + } + + volumes { + container_path = "/data" + volume_name = "truenas-arr" + } + + lifecycle { + ignore_changes = [ + ulimit, + log_opts + ] + } +} diff --git a/homer.tf b/homer.tf new file mode 100644 index 0000000..a5d722b --- /dev/null +++ b/homer.tf @@ -0,0 +1,44 @@ +data "docker_registry_image" "homer" { + name = "b4bz/homer:latest" +} + +resource "docker_image" "homer" { + name = data.docker_registry_image.homer.name + pull_triggers = [data.docker_registry_image.homer.sha256_digest] +} + +resource "docker_container" "homer" { + image = docker_image.homer.image_id + name = "homer" + restart = "always" + + log_driver = "local" + + env = [ + "PUID=1000", + "PGID=1000", + "TZ=Europe/Amsterdam" + ] + + networks_advanced { + name = docker_network.bridge.name + ipv4_address = "192.168.2.153" + } + + networks_advanced { + name = docker_network.whisper-asr.name + } + + mounts { + target = "/www/assets" + source = "/share/appdata/homer" + type = "bind" + } + + lifecycle { + ignore_changes = [ + ulimit, + log_opts + ] + } +} diff --git a/lidarr.tf b/lidarr.tf new file mode 100644 index 0000000..a97ce61 --- /dev/null +++ b/lidarr.tf @@ -0,0 +1,45 @@ +data "docker_registry_image" "lidarr" { + name = "lscr.io/linuxserver/lidarr:latest" +} + +resource "docker_image" "lidarr" { + name = data.docker_registry_image.lidarr.name + pull_triggers = [data.docker_registry_image.lidarr.sha256_digest] +} + +resource "docker_container" "lidarr" { + image = docker_image.lidarr.image_id + name = "lidarr" + restart = "always" + + log_driver = "local" + + env = [ + "PUID=1000", + "PGID=1000", + "TZ=Europe/Amsterdam" + ] + + networks_advanced { + name = docker_network.bridge.name + ipv4_address = "192.168.2.154" + } + + mounts { + target = "/config" + source = "/share/appdata/lidarr" + type = "bind" + } + + volumes { + container_path = "/data" + volume_name = "truenas-arr" + } + + lifecycle { + ignore_changes = [ + ulimit, + log_opts + ] + } +} diff --git a/terraform.tfstate b/terraform.tfstate index 2dba17f..6bd114f 100644 --- a/terraform.tfstate +++ b/terraform.tfstate @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "1.5.5", - "serial": 4743, + "serial": 4777, "lineage": "fcc74498-a461-682e-d8e4-5bc8c6ea51ec", "outputs": {}, "resources": [ @@ -50,10 +50,10 @@ { "schema_version": 0, "attributes": { - "id": "sha256:9b11c36605da242933b93dfc0c572bd17fa05af9aba2ae70deafe4977ba8048b", + "id": "sha256:2c0dda4c7cc4e0597292132e3abe93b86e38fa21a491bef4de32861eb6700029", "insecure_skip_verify": false, "name": "ghcr.io/autobrr/autobrr:latest", - "sha256_digest": "sha256:9b11c36605da242933b93dfc0c572bd17fa05af9aba2ae70deafe4977ba8048b" + "sha256_digest": "sha256:2c0dda4c7cc4e0597292132e3abe93b86e38fa21a491bef4de32861eb6700029" }, "sensitive_attributes": [] } @@ -77,6 +77,24 @@ } ] }, + { + "mode": "data", + "type": "docker_registry_image", + "name": "bazarr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "sha256:6e901cc2a12f9ec96fab0162a7d8a4dcbf9353f2357470ef59ebb48bc005ce82", + "insecure_skip_verify": false, + "name": "lscr.io/linuxserver/bazarr:latest", + "sha256_digest": "sha256:6e901cc2a12f9ec96fab0162a7d8a4dcbf9353f2357470ef59ebb48bc005ce82" + }, + "sensitive_attributes": [] + } + ] + }, { "mode": "data", "type": "docker_registry_image", @@ -104,10 +122,10 @@ { "schema_version": 0, "attributes": { - "id": "sha256:d450a5eddf03ebe12875f0b771b2d96297fd8e1f02856db71788a5a18ce75605", + "id": "sha256:95a2ec01eacc98abe783e60bb95b5cb8b23db106740925f592723cffe3e5857c", "insecure_skip_verify": false, "name": "linuxserver/deluge:latest", - "sha256_digest": "sha256:d450a5eddf03ebe12875f0b771b2d96297fd8e1f02856db71788a5a18ce75605" + "sha256_digest": "sha256:95a2ec01eacc98abe783e60bb95b5cb8b23db106740925f592723cffe3e5857c" }, "sensitive_attributes": [] } @@ -230,10 +248,10 @@ { "schema_version": 0, "attributes": { - "id": "sha256:b19ba12b98915e0c01c0d0a4dab51593f082b453449682bea6a222480d853f4c", + "id": "sha256:7bb29659a005e39c2de47ac5cb4b97d67b3ac33204a88921cf1c50b57dedffaa", "insecure_skip_verify": false, "name": "ghcr.io/hoarder-app/hoarder", - "sha256_digest": "sha256:b19ba12b98915e0c01c0d0a4dab51593f082b453449682bea6a222480d853f4c" + "sha256_digest": "sha256:7bb29659a005e39c2de47ac5cb4b97d67b3ac33204a88921cf1c50b57dedffaa" }, "sensitive_attributes": [] } @@ -275,6 +293,24 @@ } ] }, + { + "mode": "data", + "type": "docker_registry_image", + "name": "homer", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "sha256:799a07d826384f4e32280fafa258362c938955e4bba55d059bbdced588acc1ac", + "insecure_skip_verify": false, + "name": "b4bz/homer:latest", + "sha256_digest": "sha256:799a07d826384f4e32280fafa258362c938955e4bba55d059bbdced588acc1ac" + }, + "sensitive_attributes": [] + } + ] + }, { "mode": "data", "type": "docker_registry_image", @@ -311,6 +347,24 @@ } ] }, + { + "mode": "data", + "type": "docker_registry_image", + "name": "lidarr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "sha256:f6cfa621faf759bd7936473a28a05671f23ab3246ca932341ee5a20a887143ca", + "insecure_skip_verify": false, + "name": "lscr.io/linuxserver/lidarr:latest", + "sha256_digest": "sha256:f6cfa621faf759bd7936473a28a05671f23ab3246ca932341ee5a20a887143ca" + }, + "sensitive_attributes": [] + } + ] + }, { "mode": "data", "type": "docker_registry_image", @@ -482,10 +536,10 @@ { "schema_version": 0, "attributes": { - "id": "sha256:67e4e64c10261a31c70863c2bd446d1fc7d8d9322c6a70098db45ad5aea74a96", + "id": "sha256:53877f6a192c99840952c3ca43596abb0f93747e87fc385ec4d30ee6454b1e16", "insecure_skip_verify": false, "name": "ghcr.io/hotio/readarr", - "sha256_digest": "sha256:67e4e64c10261a31c70863c2bd446d1fc7d8d9322c6a70098db45ad5aea74a96" + "sha256_digest": "sha256:53877f6a192c99840952c3ca43596abb0f93747e87fc385ec4d30ee6454b1e16" }, "sensitive_attributes": [] } @@ -671,6 +725,24 @@ } ] }, + { + "mode": "data", + "type": "docker_registry_image", + "name": "whisper-asr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "sha256:ce030954e4d0d6abad8f13e853b1c12745cc81f3e2ccef96d64fda927600f71a", + "insecure_skip_verify": false, + "name": "onerahmet/openai-whisper-asr-webservice:latest", + "sha256_digest": "sha256:ce030954e4d0d6abad8f13e853b1c12745cc81f3e2ccef96d64fda927600f71a" + }, + "sensitive_attributes": [] + } + ] + }, { "mode": "data", "type": "docker_registry_image", @@ -1062,9 +1134,9 @@ "group_add": [], "healthcheck": [], "host": [], - "hostname": "852fe729e393", - "id": "852fe729e393c3a3234db931bde9b49c517896b50fbbc933fc4cbc6f2782b9a9", - "image": "sha256:be843d0d49e1fb401a6528304ee9ca6c542f4aa234fd3e524b8e7bee919a945b", + "hostname": "8144b681099e", + "id": "8144b681099e848155102431fa885c10cdc50e1d210734bdf48ce821a84a7fdf", + "image": "sha256:7b7df93474eb2df2f2b1b71720365962cb8bd96ab1b860f5521fa8126372a4da", "init": false, "ipc_mode": "private", "labels": [], @@ -1095,7 +1167,7 @@ "ip_address": "192.168.2.148", "ip_prefix_length": 24, "ipv6_gateway": "", - "mac_address": "02:42:29:3e:d1:33", + "mac_address": "02:42:a9:80:dc:ac", "network_name": "qnet-static-eth0-48e715" } ], @@ -1280,6 +1352,158 @@ } ] }, + { + "mode": "managed", + "type": "docker_container", + "name": "bazarr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "attach": false, + "bridge": "", + "capabilities": [], + "cgroupns_mode": null, + "command": [], + "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": [ + "/init" + ], + "env": [ + "PGID=1000", + "PUID=1000", + "TZ=Europe/Amsterdam" + ], + "exit_code": null, + "gpus": null, + "group_add": [], + "healthcheck": [], + "host": [], + "hostname": "9bf208aac626", + "id": "9bf208aac626a274deda07134181bb024e0e339390f5df2bbe880cc7a899b1f4", + "image": "sha256:0898e38a035ddd73d05f6a48b7df564ec3508c4d775cd7b2b29037d475610339", + "init": false, + "ipc_mode": "private", + "labels": [], + "log_driver": "local", + "log_opts": {}, + "logs": false, + "max_retry_count": 0, + "memory": 0, + "memory_swap": 0, + "mounts": [ + { + "bind_options": [], + "read_only": false, + "source": "/share/appdata/bazarr", + "target": "/config", + "tmpfs_options": [], + "type": "bind", + "volume_options": [] + } + ], + "must_run": true, + "name": "bazarr", + "network_data": [ + { + "gateway": "192.168.2.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "192.168.2.152", + "ip_prefix_length": 24, + "ipv6_gateway": "", + "mac_address": "02:42:9a:67:3c:b6", + "network_name": "qnet-static-eth0-48e715" + }, + { + "gateway": "172.29.8.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "172.29.8.2", + "ip_prefix_length": 22, + "ipv6_gateway": "", + "mac_address": "02:42:ac:1d:08:02", + "network_name": "whisper-asr" + } + ], + "network_mode": "default", + "networks_advanced": [ + { + "aliases": [], + "ipv4_address": "", + "ipv6_address": "", + "name": "whisper-asr" + }, + { + "aliases": [], + "ipv4_address": "192.168.2.152", + "ipv6_address": "", + "name": "qnet-static-eth0-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": [ + { + "container_path": "/data", + "from_container": "", + "host_path": "", + "read_only": false, + "volume_name": "truenas-arr" + } + ], + "wait": false, + "wait_timeout": 60, + "working_dir": "/" + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", + "dependencies": [ + "data.docker_registry_image.bazarr", + "docker_image.bazarr", + "docker_network.bridge", + "docker_network.whisper-asr" + ] + } + ] + }, { "mode": "managed", "type": "docker_container", @@ -1437,9 +1661,9 @@ "group_add": [], "healthcheck": [], "host": [], - "hostname": "8e55338d43d4", - "id": "8e55338d43d47e82cdd8420a11ede29609d16433f2828273ce87247b63ae7d9e", - "image": "sha256:293687cd01b14ee19a27a7711967a4af9de6b4a9d05f2c2a53e50ce93595a5ac", + "hostname": "608a5b5f16b5", + "id": "608a5b5f16b583cbe8c270833b4fcbde044a09d2417fa535eea3a6ca631140dd", + "image": "sha256:1f21ef086de9a692061975b3a38d4695701a749a48168bc0d1f32547ec87aa3d", "init": false, "ipc_mode": "private", "labels": [], @@ -1470,7 +1694,7 @@ "ip_address": "192.168.2.137", "ip_prefix_length": 24, "ipv6_gateway": "", - "mac_address": "02:42:ef:83:38:3b", + "mac_address": "02:42:67:87:66:ac", "network_name": "qnet-static-eth0-48e715" } ], @@ -2357,9 +2581,9 @@ "cpu_shares": 0, "destroy_grace_seconds": null, "devices": [], - "dns": null, - "dns_opts": null, - "dns_search": null, + "dns": [], + "dns_opts": [], + "dns_search": [], "domainname": "", "entrypoint": [ "/init" @@ -2377,7 +2601,7 @@ ], "exit_code": null, "gpus": null, - "group_add": null, + "group_add": [], "healthcheck": [ { "interval": "30s", @@ -2392,8 +2616,8 @@ ], "host": [], "hostname": "hoarder", - "id": "3d5553f484b65d2ae0807200310e7c52d8f61f189559db1d07bc711ec3000d97", - "image": "sha256:e0ad7fe7f6a9f7f3906a58c36ce50a7ffd569c76170467758bb28df501037b73", + "id": "1dfe328127f2f501b312819ff57cecffee44405a300b9e2b2a71d46a817b1336", + "image": "sha256:45c9820e51f11ef9682084981ebd3e2f03032f171c94751c9572e66921f8a256", "init": false, "ipc_mode": "private", "labels": [], @@ -2409,7 +2633,7 @@ "mounts": [ { "bind_options": [], - "read_only": null, + "read_only": false, "source": "/share/appdata/hoarder", "target": "/data", "tmpfs_options": [], @@ -2437,7 +2661,7 @@ "ip_address": "192.168.2.145", "ip_prefix_length": 24, "ipv6_gateway": "", - "mac_address": "02:42:0d:49:e3:5b", + "mac_address": "02:42:15:fb:ba:cf", "network_name": "qnet-static-eth0-48e715" } ], @@ -2471,11 +2695,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": "root", "userns_mode": "", @@ -2757,6 +2987,162 @@ } ] }, + { + "mode": "managed", + "type": "docker_container", + "name": "homer", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "attach": false, + "bridge": "", + "capabilities": [], + "cgroupns_mode": null, + "command": [], + "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": [ + "/bin/sh", + "/entrypoint.sh" + ], + "env": [ + "PGID=1000", + "PUID=1000", + "TZ=Europe/Amsterdam" + ], + "exit_code": null, + "gpus": null, + "group_add": [], + "healthcheck": [ + { + "interval": "30s", + "retries": 3, + "start_period": "10s", + "test": [ + "CMD-SHELL", + "wget --no-verbose -Y off --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1" + ], + "timeout": "5s" + } + ], + "host": [], + "hostname": "7c6d9fb14aee", + "id": "7c6d9fb14aee847ed728b1adcdce5321d4f28ce69e0e09e355daff5e114c68cc", + "image": "sha256:4fd4f3d8b555d31c3685de95138851f3831c979340855e9013040fcb4f8c7a9b", + "init": false, + "ipc_mode": "private", + "labels": [], + "log_driver": "local", + "log_opts": {}, + "logs": false, + "max_retry_count": 0, + "memory": 0, + "memory_swap": 0, + "mounts": [ + { + "bind_options": [], + "read_only": false, + "source": "/share/appdata/homer", + "target": "/www/assets", + "tmpfs_options": [], + "type": "bind", + "volume_options": [] + } + ], + "must_run": true, + "name": "homer", + "network_data": [ + { + "gateway": "192.168.2.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "192.168.2.153", + "ip_prefix_length": 24, + "ipv6_gateway": "", + "mac_address": "02:42:44:2f:bf:5c", + "network_name": "qnet-static-eth0-48e715" + }, + { + "gateway": "172.29.8.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "172.29.8.4", + "ip_prefix_length": 22, + "ipv6_gateway": "", + "mac_address": "02:42:ac:1d:08:04", + "network_name": "whisper-asr" + } + ], + "network_mode": "default", + "networks_advanced": [ + { + "aliases": [], + "ipv4_address": "", + "ipv6_address": "", + "name": "whisper-asr" + }, + { + "aliases": [], + "ipv4_address": "192.168.2.153", + "ipv6_address": "", + "name": "qnet-static-eth0-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": "1000:1000", + "userns_mode": "", + "volumes": [], + "wait": false, + "wait_timeout": 60, + "working_dir": "/www" + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", + "dependencies": [ + "data.docker_registry_image.homer", + "docker_image.homer", + "docker_network.bridge", + "docker_network.whisper-asr" + ] + } + ] + }, { "mode": "managed", "type": "docker_container", @@ -2853,7 +3239,7 @@ "ip_address": "192.168.2.134", "ip_prefix_length": 24, "ipv6_gateway": "", - "mac_address": "02:42:1f:b5:e0:30", + "mac_address": "02:42:69:fb:44:83", "network_name": "qnet-static-eth0-48e715" } ], @@ -3047,6 +3433,134 @@ } ] }, + { + "mode": "managed", + "type": "docker_container", + "name": "lidarr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "attach": false, + "bridge": "", + "capabilities": [], + "cgroupns_mode": null, + "command": [], + "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": [ + "/init" + ], + "env": [ + "PGID=1000", + "PUID=1000", + "TZ=Europe/Amsterdam" + ], + "exit_code": null, + "gpus": null, + "group_add": null, + "healthcheck": null, + "host": [], + "hostname": "daddff4ff9b7", + "id": "daddff4ff9b741ab69851e855da5f526d3b9ddc4136436f2494b18491af571ed", + "image": "sha256:b9bf498f0d7be2964cd036d202d7059a6d727b92a1a80c0f60f550905d51fc1b", + "init": false, + "ipc_mode": "private", + "labels": [], + "log_driver": "local", + "log_opts": null, + "logs": false, + "max_retry_count": 0, + "memory": 0, + "memory_swap": 0, + "mounts": [ + { + "bind_options": [], + "read_only": null, + "source": "/share/appdata/lidarr", + "target": "/config", + "tmpfs_options": [], + "type": "bind", + "volume_options": [] + } + ], + "must_run": true, + "name": "lidarr", + "network_data": [ + { + "gateway": "192.168.2.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "192.168.2.154", + "ip_prefix_length": 24, + "ipv6_gateway": "", + "mac_address": "02:42:23:13:84:bb", + "network_name": "qnet-static-eth0-48e715" + } + ], + "network_mode": "default", + "networks_advanced": [ + { + "aliases": [], + "ipv4_address": "192.168.2.154", + "ipv6_address": "", + "name": "qnet-static-eth0-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": [ + { + "container_path": "/data", + "from_container": "", + "host_path": "", + "read_only": null, + "volume_name": "truenas-arr" + } + ], + "wait": false, + "wait_timeout": 60, + "working_dir": "/" + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", + "dependencies": [ + "docker_image.lidarr", + "docker_network.bridge" + ] + } + ] + }, { "mode": "managed", "type": "docker_container", @@ -3645,9 +4159,9 @@ "cpu_shares": 0, "destroy_grace_seconds": null, "devices": [], - "dns": null, - "dns_opts": null, - "dns_search": null, + "dns": [], + "dns_opts": [], + "dns_search": [], "domainname": "", "entrypoint": [ "/init" @@ -3667,8 +4181,8 @@ ], "exit_code": null, "gpus": null, - "group_add": null, - "healthcheck": null, + "group_add": [], + "healthcheck": [], "host": [], "hostname": "3930e8fad044", "id": "3930e8fad044327b5c3f6532c4703e347c468bbfca14ddf6f65831efbceddc62", @@ -3689,16 +4203,6 @@ "must_run": true, "name": "photoprism", "network_data": [ - { - "gateway": "172.29.0.1", - "global_ipv6_address": "", - "global_ipv6_prefix_length": 0, - "ip_address": "172.29.0.3", - "ip_prefix_length": 22, - "ipv6_gateway": "", - "mac_address": "02:42:ac:1d:00:03", - "network_name": "mariadb" - }, { "gateway": "192.168.2.1", "global_ipv6_address": "", @@ -3708,6 +4212,16 @@ "ipv6_gateway": "", "mac_address": "02:42:e2:4d:c0:78", "network_name": "qnet-static-eth0-48e715" + }, + { + "gateway": "172.29.0.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "172.29.0.3", + "ip_prefix_length": 22, + "ipv6_gateway": "", + "mac_address": "02:42:ac:1d:00:03", + "network_name": "mariadb" } ], "network_mode": "default", @@ -3740,11 +4254,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": "", @@ -3753,21 +4273,21 @@ "container_path": "/photoprism/import", "from_container": "", "host_path": "", - "read_only": null, + "read_only": false, "volume_name": "truenas-photoprism-import" }, { "container_path": "/photoprism/originals", "from_container": "", "host_path": "", - "read_only": null, + "read_only": false, "volume_name": "truenas-photoprism-originals" }, { "container_path": "/photoprism/storage", "from_container": "", "host_path": "", - "read_only": null, + "read_only": false, "volume_name": "truenas-photoprism-data" } ], @@ -3778,6 +4298,7 @@ "sensitive_attributes": [], "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", "dependencies": [ + "data.docker_registry_image.photoprism", "docker_image.photoprism", "docker_network.bridge", "docker_network.mariadb", @@ -4518,9 +5039,9 @@ "group_add": [], "healthcheck": [], "host": [], - "hostname": "503bbb9bddaa", - "id": "503bbb9bddaaddd7f544bacfa4175ea2c921f1e6e81312da107121f1feb166de", - "image": "sha256:e8650470e9533cd8ac6c041f070a83b24e48680ad7b08d553b44ed20c1fc6cac", + "hostname": "53003aac8bc3", + "id": "53003aac8bc378aa0108edbc21581f33a5a41b79b24c984540697de720933dbd", + "image": "sha256:99b2a465c3894f05c689fc5f823bfc5036576ef295d8fd97b70838e04ba257f7", "init": false, "ipc_mode": "private", "labels": [], @@ -4551,7 +5072,7 @@ "ip_address": "192.168.2.147", "ip_prefix_length": 24, "ipv6_gateway": "", - "mac_address": "02:42:9d:2c:74:43", + "mac_address": "02:42:25:e5:81:43", "network_name": "qnet-static-eth0-48e715" } ], @@ -5629,16 +6150,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:8a:ad:c2:02", - "network_name": "qnet-static-eth0-48e715" - }, { "gateway": "172.29.0.1", "global_ipv6_address": "", @@ -5648,6 +6159,16 @@ "ipv6_gateway": "", "mac_address": "02:42:ac:1d:00:04", "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:8a:ad:c2:02", + "network_name": "qnet-static-eth0-48e715" } ], "network_mode": "default", @@ -6130,6 +6651,122 @@ } ] }, + { + "mode": "managed", + "type": "docker_container", + "name": "whisper-asr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "attach": false, + "bridge": "", + "capabilities": [], + "cgroupns_mode": null, + "command": [], + "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": [ + "whisper-asr-webservice" + ], + "env": [ + "ASR_ENGINE=openai_whisper", + "ASR_MODEL=base" + ], + "exit_code": null, + "gpus": null, + "group_add": [], + "healthcheck": [], + "host": [], + "hostname": "144cfe8de7f5", + "id": "144cfe8de7f5778b27f6b3dca427067b081b1edb767a707ca5cf736b7dba7b48", + "image": "sha256:a93855a32932f9a47515cee90ea4ebe28112e7a361c495080a6475ba05f9a492", + "init": false, + "ipc_mode": "private", + "labels": [], + "log_driver": "local", + "log_opts": {}, + "logs": false, + "max_retry_count": 0, + "memory": 0, + "memory_swap": 0, + "mounts": [], + "must_run": true, + "name": "whisper-asr", + "network_data": [ + { + "gateway": "172.29.8.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "172.29.8.3", + "ip_prefix_length": 22, + "ipv6_gateway": "", + "mac_address": "02:42:ac:1d:08:03", + "network_name": "whisper-asr" + } + ], + "network_mode": "default", + "networks_advanced": [ + { + "aliases": [], + "ipv4_address": "", + "ipv6_address": "", + "name": "whisper-asr" + } + ], + "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": [ + "data.docker_registry_image.whisper-asr", + "docker_image.whisper-asr", + "docker_network.whisper-asr" + ] + } + ] + }, { "mode": "managed", "type": "docker_container", @@ -6346,15 +6983,15 @@ "attributes": { "build": [], "force_remove": null, - "id": "sha256:be843d0d49e1fb401a6528304ee9ca6c542f4aa234fd3e524b8e7bee919a945bghcr.io/autobrr/autobrr:latest", - "image_id": "sha256:be843d0d49e1fb401a6528304ee9ca6c542f4aa234fd3e524b8e7bee919a945b", + "id": "sha256:7b7df93474eb2df2f2b1b71720365962cb8bd96ab1b860f5521fa8126372a4daghcr.io/autobrr/autobrr:latest", + "image_id": "sha256:7b7df93474eb2df2f2b1b71720365962cb8bd96ab1b860f5521fa8126372a4da", "keep_locally": null, "name": "ghcr.io/autobrr/autobrr:latest", "platform": null, "pull_triggers": [ - "sha256:9b11c36605da242933b93dfc0c572bd17fa05af9aba2ae70deafe4977ba8048b" + "sha256:2c0dda4c7cc4e0597292132e3abe93b86e38fa21a491bef4de32861eb6700029" ], - "repo_digest": "ghcr.io/autobrr/autobrr@sha256:9b11c36605da242933b93dfc0c572bd17fa05af9aba2ae70deafe4977ba8048b", + "repo_digest": "ghcr.io/autobrr/autobrr@sha256:2c0dda4c7cc4e0597292132e3abe93b86e38fa21a491bef4de32861eb6700029", "triggers": null }, "sensitive_attributes": [], @@ -6395,6 +7032,36 @@ } ] }, + { + "mode": "managed", + "type": "docker_image", + "name": "bazarr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "build": [], + "force_remove": null, + "id": "sha256:0898e38a035ddd73d05f6a48b7df564ec3508c4d775cd7b2b29037d475610339lscr.io/linuxserver/bazarr:latest", + "image_id": "sha256:0898e38a035ddd73d05f6a48b7df564ec3508c4d775cd7b2b29037d475610339", + "keep_locally": null, + "name": "lscr.io/linuxserver/bazarr:latest", + "platform": null, + "pull_triggers": [ + "sha256:6e901cc2a12f9ec96fab0162a7d8a4dcbf9353f2357470ef59ebb48bc005ce82" + ], + "repo_digest": "lscr.io/linuxserver/bazarr@sha256:6e901cc2a12f9ec96fab0162a7d8a4dcbf9353f2357470ef59ebb48bc005ce82", + "triggers": null + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.docker_registry_image.bazarr" + ] + } + ] + }, { "mode": "managed", "type": "docker_image", @@ -6436,15 +7103,15 @@ "attributes": { "build": [], "force_remove": null, - "id": "sha256:293687cd01b14ee19a27a7711967a4af9de6b4a9d05f2c2a53e50ce93595a5aclinuxserver/deluge:latest", - "image_id": "sha256:293687cd01b14ee19a27a7711967a4af9de6b4a9d05f2c2a53e50ce93595a5ac", + "id": "sha256:1f21ef086de9a692061975b3a38d4695701a749a48168bc0d1f32547ec87aa3dlinuxserver/deluge:latest", + "image_id": "sha256:1f21ef086de9a692061975b3a38d4695701a749a48168bc0d1f32547ec87aa3d", "keep_locally": null, "name": "linuxserver/deluge:latest", "platform": null, "pull_triggers": [ - "sha256:d450a5eddf03ebe12875f0b771b2d96297fd8e1f02856db71788a5a18ce75605" + "sha256:95a2ec01eacc98abe783e60bb95b5cb8b23db106740925f592723cffe3e5857c" ], - "repo_digest": "linuxserver/deluge@sha256:d450a5eddf03ebe12875f0b771b2d96297fd8e1f02856db71788a5a18ce75605", + "repo_digest": "linuxserver/deluge@sha256:95a2ec01eacc98abe783e60bb95b5cb8b23db106740925f592723cffe3e5857c", "triggers": null }, "sensitive_attributes": [], @@ -6646,15 +7313,15 @@ "attributes": { "build": [], "force_remove": null, - "id": "sha256:e0ad7fe7f6a9f7f3906a58c36ce50a7ffd569c76170467758bb28df501037b73ghcr.io/hoarder-app/hoarder", - "image_id": "sha256:e0ad7fe7f6a9f7f3906a58c36ce50a7ffd569c76170467758bb28df501037b73", + "id": "sha256:45c9820e51f11ef9682084981ebd3e2f03032f171c94751c9572e66921f8a256ghcr.io/hoarder-app/hoarder", + "image_id": "sha256:45c9820e51f11ef9682084981ebd3e2f03032f171c94751c9572e66921f8a256", "keep_locally": null, "name": "ghcr.io/hoarder-app/hoarder", "platform": null, "pull_triggers": [ - "sha256:b19ba12b98915e0c01c0d0a4dab51593f082b453449682bea6a222480d853f4c" + "sha256:7bb29659a005e39c2de47ac5cb4b97d67b3ac33204a88921cf1c50b57dedffaa" ], - "repo_digest": "ghcr.io/hoarder-app/hoarder@sha256:b19ba12b98915e0c01c0d0a4dab51593f082b453449682bea6a222480d853f4c", + "repo_digest": "ghcr.io/hoarder-app/hoarder@sha256:7bb29659a005e39c2de47ac5cb4b97d67b3ac33204a88921cf1c50b57dedffaa", "triggers": null }, "sensitive_attributes": [], @@ -6725,6 +7392,36 @@ } ] }, + { + "mode": "managed", + "type": "docker_image", + "name": "homer", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "build": [], + "force_remove": null, + "id": "sha256:4fd4f3d8b555d31c3685de95138851f3831c979340855e9013040fcb4f8c7a9bb4bz/homer:latest", + "image_id": "sha256:4fd4f3d8b555d31c3685de95138851f3831c979340855e9013040fcb4f8c7a9b", + "keep_locally": null, + "name": "b4bz/homer:latest", + "platform": null, + "pull_triggers": [ + "sha256:799a07d826384f4e32280fafa258362c938955e4bba55d059bbdced588acc1ac" + ], + "repo_digest": "b4bz/homer@sha256:799a07d826384f4e32280fafa258362c938955e4bba55d059bbdced588acc1ac", + "triggers": null + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.docker_registry_image.homer" + ] + } + ] + }, { "mode": "managed", "type": "docker_image", @@ -6785,6 +7482,36 @@ } ] }, + { + "mode": "managed", + "type": "docker_image", + "name": "lidarr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "build": [], + "force_remove": null, + "id": "sha256:b9bf498f0d7be2964cd036d202d7059a6d727b92a1a80c0f60f550905d51fc1blscr.io/linuxserver/lidarr:latest", + "image_id": "sha256:b9bf498f0d7be2964cd036d202d7059a6d727b92a1a80c0f60f550905d51fc1b", + "keep_locally": null, + "name": "lscr.io/linuxserver/lidarr:latest", + "platform": null, + "pull_triggers": [ + "sha256:f6cfa621faf759bd7936473a28a05671f23ab3246ca932341ee5a20a887143ca" + ], + "repo_digest": "lscr.io/linuxserver/lidarr@sha256:f6cfa621faf759bd7936473a28a05671f23ab3246ca932341ee5a20a887143ca", + "triggers": null + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.docker_registry_image.lidarr" + ] + } + ] + }, { "mode": "managed", "type": "docker_image", @@ -7066,15 +7793,15 @@ "attributes": { "build": [], "force_remove": null, - "id": "sha256:e8650470e9533cd8ac6c041f070a83b24e48680ad7b08d553b44ed20c1fc6cacghcr.io/hotio/readarr", - "image_id": "sha256:e8650470e9533cd8ac6c041f070a83b24e48680ad7b08d553b44ed20c1fc6cac", + "id": "sha256:99b2a465c3894f05c689fc5f823bfc5036576ef295d8fd97b70838e04ba257f7ghcr.io/hotio/readarr", + "image_id": "sha256:99b2a465c3894f05c689fc5f823bfc5036576ef295d8fd97b70838e04ba257f7", "keep_locally": null, "name": "ghcr.io/hotio/readarr", "platform": null, "pull_triggers": [ - "sha256:67e4e64c10261a31c70863c2bd446d1fc7d8d9322c6a70098db45ad5aea74a96" + "sha256:53877f6a192c99840952c3ca43596abb0f93747e87fc385ec4d30ee6454b1e16" ], - "repo_digest": "ghcr.io/hotio/readarr@sha256:67e4e64c10261a31c70863c2bd446d1fc7d8d9322c6a70098db45ad5aea74a96", + "repo_digest": "ghcr.io/hotio/readarr@sha256:53877f6a192c99840952c3ca43596abb0f93747e87fc385ec4d30ee6454b1e16", "triggers": null }, "sensitive_attributes": [], @@ -7410,6 +8137,36 @@ } ] }, + { + "mode": "managed", + "type": "docker_image", + "name": "whisper-asr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "build": [], + "force_remove": null, + "id": "sha256:a93855a32932f9a47515cee90ea4ebe28112e7a361c495080a6475ba05f9a492onerahmet/openai-whisper-asr-webservice:latest", + "image_id": "sha256:a93855a32932f9a47515cee90ea4ebe28112e7a361c495080a6475ba05f9a492", + "keep_locally": null, + "name": "onerahmet/openai-whisper-asr-webservice:latest", + "platform": null, + "pull_triggers": [ + "sha256:ce030954e4d0d6abad8f13e853b1c12745cc81f3e2ccef96d64fda927600f71a" + ], + "repo_digest": "onerahmet/openai-whisper-asr-webservice@sha256:ce030954e4d0d6abad8f13e853b1c12745cc81f3e2ccef96d64fda927600f71a", + "triggers": null + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.docker_registry_image.whisper-asr" + ] + } + ] + }, { "mode": "managed", "type": "docker_image", @@ -7725,6 +8482,42 @@ } ] }, + { + "mode": "managed", + "type": "docker_network", + "name": "whisper-asr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "attachable": false, + "check_duplicate": null, + "driver": "bridge", + "id": "e0c2ccf7ca83d89549e4df2d8f0657deab558de885b88ad7a4558773c0c0030e", + "ingress": false, + "internal": false, + "ipam_config": [ + { + "aux_address": {}, + "gateway": "172.29.8.1", + "ip_range": "", + "subnet": "172.29.8.0/22" + } + ], + "ipam_driver": "default", + "ipam_options": {}, + "ipv6": false, + "labels": [], + "name": "whisper-asr", + "options": {}, + "scope": "local" + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, { "mode": "managed", "type": "docker_network", diff --git a/terraform.tfstate.backup b/terraform.tfstate.backup index 0b7afca..43d2f18 100644 --- a/terraform.tfstate.backup +++ b/terraform.tfstate.backup @@ -1,7 +1,7 @@ { "version": 4, "terraform_version": "1.5.5", - "serial": 4736, + "serial": 4775, "lineage": "fcc74498-a461-682e-d8e4-5bc8c6ea51ec", "outputs": {}, "resources": [ @@ -50,10 +50,10 @@ { "schema_version": 0, "attributes": { - "id": "sha256:9b11c36605da242933b93dfc0c572bd17fa05af9aba2ae70deafe4977ba8048b", + "id": "sha256:2c0dda4c7cc4e0597292132e3abe93b86e38fa21a491bef4de32861eb6700029", "insecure_skip_verify": false, "name": "ghcr.io/autobrr/autobrr:latest", - "sha256_digest": "sha256:9b11c36605da242933b93dfc0c572bd17fa05af9aba2ae70deafe4977ba8048b" + "sha256_digest": "sha256:2c0dda4c7cc4e0597292132e3abe93b86e38fa21a491bef4de32861eb6700029" }, "sensitive_attributes": [] } @@ -77,6 +77,24 @@ } ] }, + { + "mode": "data", + "type": "docker_registry_image", + "name": "bazarr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "sha256:6e901cc2a12f9ec96fab0162a7d8a4dcbf9353f2357470ef59ebb48bc005ce82", + "insecure_skip_verify": false, + "name": "lscr.io/linuxserver/bazarr:latest", + "sha256_digest": "sha256:6e901cc2a12f9ec96fab0162a7d8a4dcbf9353f2357470ef59ebb48bc005ce82" + }, + "sensitive_attributes": [] + } + ] + }, { "mode": "data", "type": "docker_registry_image", @@ -104,10 +122,10 @@ { "schema_version": 0, "attributes": { - "id": "sha256:d450a5eddf03ebe12875f0b771b2d96297fd8e1f02856db71788a5a18ce75605", + "id": "sha256:95a2ec01eacc98abe783e60bb95b5cb8b23db106740925f592723cffe3e5857c", "insecure_skip_verify": false, "name": "linuxserver/deluge:latest", - "sha256_digest": "sha256:d450a5eddf03ebe12875f0b771b2d96297fd8e1f02856db71788a5a18ce75605" + "sha256_digest": "sha256:95a2ec01eacc98abe783e60bb95b5cb8b23db106740925f592723cffe3e5857c" }, "sensitive_attributes": [] } @@ -230,10 +248,10 @@ { "schema_version": 0, "attributes": { - "id": "sha256:1ffcbe71b11ef23ced1094528a04cf7479e252226fbe8599f6a5d605ffb8a67f", + "id": "sha256:7bb29659a005e39c2de47ac5cb4b97d67b3ac33204a88921cf1c50b57dedffaa", "insecure_skip_verify": false, "name": "ghcr.io/hoarder-app/hoarder", - "sha256_digest": "sha256:1ffcbe71b11ef23ced1094528a04cf7479e252226fbe8599f6a5d605ffb8a67f" + "sha256_digest": "sha256:7bb29659a005e39c2de47ac5cb4b97d67b3ac33204a88921cf1c50b57dedffaa" }, "sensitive_attributes": [] } @@ -275,6 +293,24 @@ } ] }, + { + "mode": "data", + "type": "docker_registry_image", + "name": "homer", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "sha256:799a07d826384f4e32280fafa258362c938955e4bba55d059bbdced588acc1ac", + "insecure_skip_verify": false, + "name": "b4bz/homer:latest", + "sha256_digest": "sha256:799a07d826384f4e32280fafa258362c938955e4bba55d059bbdced588acc1ac" + }, + "sensitive_attributes": [] + } + ] + }, { "mode": "data", "type": "docker_registry_image", @@ -311,6 +347,24 @@ } ] }, + { + "mode": "data", + "type": "docker_registry_image", + "name": "lidarr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "sha256:f6cfa621faf759bd7936473a28a05671f23ab3246ca932341ee5a20a887143ca", + "insecure_skip_verify": false, + "name": "lscr.io/linuxserver/lidarr:latest", + "sha256_digest": "sha256:f6cfa621faf759bd7936473a28a05671f23ab3246ca932341ee5a20a887143ca" + }, + "sensitive_attributes": [] + } + ] + }, { "mode": "data", "type": "docker_registry_image", @@ -482,10 +536,10 @@ { "schema_version": 0, "attributes": { - "id": "sha256:67e4e64c10261a31c70863c2bd446d1fc7d8d9322c6a70098db45ad5aea74a96", + "id": "sha256:53877f6a192c99840952c3ca43596abb0f93747e87fc385ec4d30ee6454b1e16", "insecure_skip_verify": false, "name": "ghcr.io/hotio/readarr", - "sha256_digest": "sha256:67e4e64c10261a31c70863c2bd446d1fc7d8d9322c6a70098db45ad5aea74a96" + "sha256_digest": "sha256:53877f6a192c99840952c3ca43596abb0f93747e87fc385ec4d30ee6454b1e16" }, "sensitive_attributes": [] } @@ -671,6 +725,24 @@ } ] }, + { + "mode": "data", + "type": "docker_registry_image", + "name": "whisper-asr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "id": "sha256:ce030954e4d0d6abad8f13e853b1c12745cc81f3e2ccef96d64fda927600f71a", + "insecure_skip_verify": false, + "name": "onerahmet/openai-whisper-asr-webservice:latest", + "sha256_digest": "sha256:ce030954e4d0d6abad8f13e853b1c12745cc81f3e2ccef96d64fda927600f71a" + }, + "sensitive_attributes": [] + } + ] + }, { "mode": "data", "type": "docker_registry_image", @@ -1062,9 +1134,9 @@ "group_add": [], "healthcheck": [], "host": [], - "hostname": "852fe729e393", - "id": "852fe729e393c3a3234db931bde9b49c517896b50fbbc933fc4cbc6f2782b9a9", - "image": "sha256:be843d0d49e1fb401a6528304ee9ca6c542f4aa234fd3e524b8e7bee919a945b", + "hostname": "8144b681099e", + "id": "8144b681099e848155102431fa885c10cdc50e1d210734bdf48ce821a84a7fdf", + "image": "sha256:7b7df93474eb2df2f2b1b71720365962cb8bd96ab1b860f5521fa8126372a4da", "init": false, "ipc_mode": "private", "labels": [], @@ -1095,7 +1167,7 @@ "ip_address": "192.168.2.148", "ip_prefix_length": 24, "ipv6_gateway": "", - "mac_address": "02:42:29:3e:d1:33", + "mac_address": "02:42:a9:80:dc:ac", "network_name": "qnet-static-eth0-48e715" } ], @@ -1280,6 +1352,158 @@ } ] }, + { + "mode": "managed", + "type": "docker_container", + "name": "bazarr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "attach": false, + "bridge": "", + "capabilities": [], + "cgroupns_mode": null, + "command": [], + "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": [ + "/init" + ], + "env": [ + "PGID=1000", + "PUID=1000", + "TZ=Europe/Amsterdam" + ], + "exit_code": null, + "gpus": null, + "group_add": [], + "healthcheck": [], + "host": [], + "hostname": "9bf208aac626", + "id": "9bf208aac626a274deda07134181bb024e0e339390f5df2bbe880cc7a899b1f4", + "image": "sha256:0898e38a035ddd73d05f6a48b7df564ec3508c4d775cd7b2b29037d475610339", + "init": false, + "ipc_mode": "private", + "labels": [], + "log_driver": "local", + "log_opts": {}, + "logs": false, + "max_retry_count": 0, + "memory": 0, + "memory_swap": 0, + "mounts": [ + { + "bind_options": [], + "read_only": false, + "source": "/share/appdata/bazarr", + "target": "/config", + "tmpfs_options": [], + "type": "bind", + "volume_options": [] + } + ], + "must_run": true, + "name": "bazarr", + "network_data": [ + { + "gateway": "192.168.2.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "192.168.2.152", + "ip_prefix_length": 24, + "ipv6_gateway": "", + "mac_address": "02:42:9a:67:3c:b6", + "network_name": "qnet-static-eth0-48e715" + }, + { + "gateway": "172.29.8.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "172.29.8.2", + "ip_prefix_length": 22, + "ipv6_gateway": "", + "mac_address": "02:42:ac:1d:08:02", + "network_name": "whisper-asr" + } + ], + "network_mode": "default", + "networks_advanced": [ + { + "aliases": [], + "ipv4_address": "", + "ipv6_address": "", + "name": "whisper-asr" + }, + { + "aliases": [], + "ipv4_address": "192.168.2.152", + "ipv6_address": "", + "name": "qnet-static-eth0-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": [ + { + "container_path": "/data", + "from_container": "", + "host_path": "", + "read_only": false, + "volume_name": "truenas-arr" + } + ], + "wait": false, + "wait_timeout": 60, + "working_dir": "/" + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", + "dependencies": [ + "data.docker_registry_image.bazarr", + "docker_image.bazarr", + "docker_network.bridge", + "docker_network.whisper-asr" + ] + } + ] + }, { "mode": "managed", "type": "docker_container", @@ -1437,9 +1661,9 @@ "group_add": [], "healthcheck": [], "host": [], - "hostname": "8e55338d43d4", - "id": "8e55338d43d47e82cdd8420a11ede29609d16433f2828273ce87247b63ae7d9e", - "image": "sha256:293687cd01b14ee19a27a7711967a4af9de6b4a9d05f2c2a53e50ce93595a5ac", + "hostname": "608a5b5f16b5", + "id": "608a5b5f16b583cbe8c270833b4fcbde044a09d2417fa535eea3a6ca631140dd", + "image": "sha256:1f21ef086de9a692061975b3a38d4695701a749a48168bc0d1f32547ec87aa3d", "init": false, "ipc_mode": "private", "labels": [], @@ -1470,7 +1694,7 @@ "ip_address": "192.168.2.137", "ip_prefix_length": 24, "ipv6_gateway": "", - "mac_address": "02:42:ef:83:38:3b", + "mac_address": "02:42:67:87:66:ac", "network_name": "qnet-static-eth0-48e715" } ], @@ -2212,9 +2436,9 @@ "cpu_shares": 0, "destroy_grace_seconds": null, "devices": [], - "dns": null, - "dns_opts": null, - "dns_search": null, + "dns": [], + "dns_opts": [], + "dns_search": [], "domainname": "", "entrypoint": [ "/init" @@ -2224,8 +2448,8 @@ ], "exit_code": null, "gpus": null, - "group_add": null, - "healthcheck": null, + "group_add": [], + "healthcheck": [], "host": [], "hostname": "237f85a493c9", "id": "237f85a493c90a3c933616803a0bb40b9de9f48b2e4d5db9a76f293c48f686a2", @@ -2245,7 +2469,7 @@ "mounts": [ { "bind_options": [], - "read_only": null, + "read_only": false, "source": "/share/appdata/grocy", "target": "/config", "tmpfs_options": [], @@ -2256,16 +2480,6 @@ "must_run": true, "name": "grocy", "network_data": [ - { - "gateway": "192.168.2.1", - "global_ipv6_address": "", - "global_ipv6_prefix_length": 0, - "ip_address": "192.168.2.142", - "ip_prefix_length": 24, - "ipv6_gateway": "", - "mac_address": "02:42:04:83:f3:58", - "network_name": "qnet-static-eth0-48e715" - }, { "gateway": "172.29.36.1", "global_ipv6_address": "", @@ -2275,6 +2489,16 @@ "ipv6_gateway": "", "mac_address": "02:42:ac:1d:24:02", "network_name": "grocy" + }, + { + "gateway": "192.168.2.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "192.168.2.142", + "ip_prefix_length": 24, + "ipv6_gateway": "", + "mac_address": "02:42:04:83:f3:58", + "network_name": "qnet-static-eth0-48e715" } ], "network_mode": "default", @@ -2307,11 +2531,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": "", @@ -2386,8 +2616,8 @@ ], "host": [], "hostname": "hoarder", - "id": "ba469c262af21e76d4dfed2a74ebcadcb6532a9769fa59cd079661b464ba5bed", - "image": "sha256:5cf5f74922cc77fec1ff3b0fb655e99f1116b4c59202b6f0389138606d7c9070", + "id": "1dfe328127f2f501b312819ff57cecffee44405a300b9e2b2a71d46a817b1336", + "image": "sha256:45c9820e51f11ef9682084981ebd3e2f03032f171c94751c9572e66921f8a256", "init": false, "ipc_mode": "private", "labels": [], @@ -2431,7 +2661,7 @@ "ip_address": "192.168.2.145", "ip_prefix_length": 24, "ipv6_gateway": "", - "mac_address": "02:42:1b:09:da:bf", + "mac_address": "02:42:15:fb:ba:cf", "network_name": "qnet-static-eth0-48e715" } ], @@ -2757,6 +2987,156 @@ } ] }, + { + "mode": "managed", + "type": "docker_container", + "name": "homer", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "attach": false, + "bridge": "", + "capabilities": [], + "cgroupns_mode": null, + "command": [], + "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": [ + "/bin/sh", + "/entrypoint.sh" + ], + "env": [ + "PGID=1000", + "PUID=1000", + "TZ=Europe/Amsterdam" + ], + "exit_code": null, + "gpus": null, + "group_add": null, + "healthcheck": [ + { + "interval": "30s", + "retries": 3, + "start_period": "10s", + "test": [ + "CMD-SHELL", + "wget --no-verbose -Y off --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1" + ], + "timeout": "5s" + } + ], + "host": [], + "hostname": "7c6d9fb14aee", + "id": "7c6d9fb14aee847ed728b1adcdce5321d4f28ce69e0e09e355daff5e114c68cc", + "image": "sha256:4fd4f3d8b555d31c3685de95138851f3831c979340855e9013040fcb4f8c7a9b", + "init": false, + "ipc_mode": "private", + "labels": [], + "log_driver": "local", + "log_opts": null, + "logs": false, + "max_retry_count": 0, + "memory": 0, + "memory_swap": 0, + "mounts": [ + { + "bind_options": [], + "read_only": null, + "source": "/share/appdata/homer", + "target": "/www/assets", + "tmpfs_options": [], + "type": "bind", + "volume_options": [] + } + ], + "must_run": true, + "name": "homer", + "network_data": [ + { + "gateway": "192.168.2.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "192.168.2.153", + "ip_prefix_length": 24, + "ipv6_gateway": "", + "mac_address": "02:42:44:2f:bf:5c", + "network_name": "qnet-static-eth0-48e715" + }, + { + "gateway": "172.29.8.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "172.29.8.4", + "ip_prefix_length": 22, + "ipv6_gateway": "", + "mac_address": "02:42:ac:1d:08:04", + "network_name": "whisper-asr" + } + ], + "network_mode": "default", + "networks_advanced": [ + { + "aliases": [], + "ipv4_address": "", + "ipv6_address": "", + "name": "whisper-asr" + }, + { + "aliases": [], + "ipv4_address": "192.168.2.153", + "ipv6_address": "", + "name": "qnet-static-eth0-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": "1000:1000", + "userns_mode": "", + "volumes": [], + "wait": false, + "wait_timeout": 60, + "working_dir": "/www" + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==", + "dependencies": [ + "data.docker_registry_image.homer", + "docker_image.homer", + "docker_network.bridge", + "docker_network.whisper-asr" + ] + } + ] + }, { "mode": "managed", "type": "docker_container", @@ -2853,7 +3233,7 @@ "ip_address": "192.168.2.134", "ip_prefix_length": 24, "ipv6_gateway": "", - "mac_address": "02:42:1f:b5:e0:30", + "mac_address": "02:42:69:fb:44:83", "network_name": "qnet-static-eth0-48e715" } ], @@ -3113,16 +3493,6 @@ "must_run": true, "name": "mariadb", "network_data": [ - { - "gateway": "172.29.0.1", - "global_ipv6_address": "", - "global_ipv6_prefix_length": 0, - "ip_address": "172.29.0.5", - "ip_prefix_length": 22, - "ipv6_gateway": "", - "mac_address": "02:42:ac:1d:00:05", - "network_name": "mariadb" - }, { "gateway": "192.168.2.1", "global_ipv6_address": "", @@ -3132,6 +3502,16 @@ "ipv6_gateway": "", "mac_address": "02:42:d5:f9:ea:da", "network_name": "qnet-static-eth0-48e715" + }, + { + "gateway": "172.29.0.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "172.29.0.5", + "ip_prefix_length": 22, + "ipv6_gateway": "", + "mac_address": "02:42:ac:1d:00:05", + "network_name": "mariadb" } ], "network_mode": "default", @@ -3645,15 +4025,16 @@ "cpu_shares": 0, "destroy_grace_seconds": null, "devices": [], - "dns": null, - "dns_opts": null, - "dns_search": null, + "dns": [], + "dns_opts": [], + "dns_search": [], "domainname": "", "entrypoint": [ "/init" ], "env": [ "PHOTOPRISM_ADMIN_PASSWORD=UAmpojHADcS5aB", + "PHOTOPRISM_AUTO_IMPORT=60", "PHOTOPRISM_DATABASE_DRIVER=mysql", "PHOTOPRISM_DATABASE_NAME=photoprism", "PHOTOPRISM_DATABASE_PASSWORD=YL43KVRekqUjbgPLGzz", @@ -3666,11 +4047,11 @@ ], "exit_code": null, "gpus": null, - "group_add": null, - "healthcheck": null, + "group_add": [], + "healthcheck": [], "host": [], - "hostname": "a247a55558f8", - "id": "a247a55558f85b2b9f680c3b89573175271298eee5bdb19e3445144bbdd1c76c", + "hostname": "3930e8fad044", + "id": "3930e8fad044327b5c3f6532c4703e347c468bbfca14ddf6f65831efbceddc62", "image": "sha256:6f44ed322e7f952a0ef3be354f45e48d79c1f4ede54d38da1f785bbbc7ec3899", "init": false, "ipc_mode": "private", @@ -3705,7 +4086,7 @@ "ip_address": "192.168.2.116", "ip_prefix_length": 24, "ipv6_gateway": "", - "mac_address": "02:42:68:65:eb:b4", + "mac_address": "02:42:e2:4d:c0:78", "network_name": "qnet-static-eth0-48e715" } ], @@ -3739,11 +4120,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": "", @@ -3752,21 +4139,21 @@ "container_path": "/photoprism/import", "from_container": "", "host_path": "", - "read_only": null, + "read_only": false, "volume_name": "truenas-photoprism-import" }, { "container_path": "/photoprism/originals", "from_container": "", "host_path": "", - "read_only": null, + "read_only": false, "volume_name": "truenas-photoprism-originals" }, { "container_path": "/photoprism/storage", "from_container": "", "host_path": "", - "read_only": null, + "read_only": false, "volume_name": "truenas-photoprism-data" } ], @@ -3812,9 +4199,9 @@ "cpu_shares": 0, "destroy_grace_seconds": null, "devices": [], - "dns": null, - "dns_opts": null, - "dns_search": null, + "dns": [], + "dns_opts": [], + "dns_search": [], "domainname": "", "entrypoint": [ "/init" @@ -3828,8 +4215,8 @@ ], "exit_code": null, "gpus": null, - "group_add": null, - "healthcheck": null, + "group_add": [], + "healthcheck": [], "host": [], "hostname": "56bcf6b5e463", "id": "56bcf6b5e463b8e2e0d398b897f8e6643827f79d3d270aa80cc3fa2980f01718", @@ -3849,7 +4236,7 @@ "mounts": [ { "bind_options": [], - "read_only": null, + "read_only": false, "source": "/share/CaptureOne/Variants", "target": "/photoprism/originals/capture-one-variants", "tmpfs_options": [], @@ -3858,7 +4245,7 @@ }, { "bind_options": [], - "read_only": null, + "read_only": false, "source": "/share/appdata/photoprism-tineke/storage", "target": "/photoprism/storage", "tmpfs_options": [], @@ -3904,11 +4291,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": "", @@ -3954,9 +4347,9 @@ "cpu_shares": 0, "destroy_grace_seconds": null, "devices": [], - "dns": null, - "dns_opts": null, - "dns_search": null, + "dns": [], + "dns_opts": [], + "dns_search": [], "domainname": "", "entrypoint": [ "start.sh" @@ -3964,7 +4357,7 @@ "env": [], "exit_code": null, "gpus": null, - "group_add": null, + "group_add": [], "healthcheck": [ { "interval": "0s", @@ -3996,7 +4389,7 @@ "mounts": [ { "bind_options": [], - "read_only": null, + "read_only": false, "source": "/share/appdata/pi-hole", "target": "/etc-pihole", "tmpfs_options": [], @@ -4042,11 +4435,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": "", @@ -4506,9 +4905,9 @@ "group_add": [], "healthcheck": [], "host": [], - "hostname": "503bbb9bddaa", - "id": "503bbb9bddaaddd7f544bacfa4175ea2c921f1e6e81312da107121f1feb166de", - "image": "sha256:e8650470e9533cd8ac6c041f070a83b24e48680ad7b08d553b44ed20c1fc6cac", + "hostname": "53003aac8bc3", + "id": "53003aac8bc378aa0108edbc21581f33a5a41b79b24c984540697de720933dbd", + "image": "sha256:99b2a465c3894f05c689fc5f823bfc5036576ef295d8fd97b70838e04ba257f7", "init": false, "ipc_mode": "private", "labels": [], @@ -4539,7 +4938,7 @@ "ip_address": "192.168.2.147", "ip_prefix_length": 24, "ipv6_gateway": "", - "mac_address": "02:42:9d:2c:74:43", + "mac_address": "02:42:25:e5:81:43", "network_name": "qnet-static-eth0-48e715" } ], @@ -5617,16 +6016,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:8a:ad:c2:02", - "network_name": "qnet-static-eth0-48e715" - }, { "gateway": "172.29.0.1", "global_ipv6_address": "", @@ -5636,6 +6025,16 @@ "ipv6_gateway": "", "mac_address": "02:42:ac:1d:00:04", "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:8a:ad:c2:02", + "network_name": "qnet-static-eth0-48e715" } ], "network_mode": "default", @@ -6118,6 +6517,122 @@ } ] }, + { + "mode": "managed", + "type": "docker_container", + "name": "whisper-asr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 2, + "attributes": { + "attach": false, + "bridge": "", + "capabilities": [], + "cgroupns_mode": null, + "command": [], + "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": [ + "whisper-asr-webservice" + ], + "env": [ + "ASR_ENGINE=openai_whisper", + "ASR_MODEL=base" + ], + "exit_code": null, + "gpus": null, + "group_add": [], + "healthcheck": [], + "host": [], + "hostname": "144cfe8de7f5", + "id": "144cfe8de7f5778b27f6b3dca427067b081b1edb767a707ca5cf736b7dba7b48", + "image": "sha256:a93855a32932f9a47515cee90ea4ebe28112e7a361c495080a6475ba05f9a492", + "init": false, + "ipc_mode": "private", + "labels": [], + "log_driver": "local", + "log_opts": {}, + "logs": false, + "max_retry_count": 0, + "memory": 0, + "memory_swap": 0, + "mounts": [], + "must_run": true, + "name": "whisper-asr", + "network_data": [ + { + "gateway": "172.29.8.1", + "global_ipv6_address": "", + "global_ipv6_prefix_length": 0, + "ip_address": "172.29.8.3", + "ip_prefix_length": 22, + "ipv6_gateway": "", + "mac_address": "02:42:ac:1d:08:03", + "network_name": "whisper-asr" + } + ], + "network_mode": "default", + "networks_advanced": [ + { + "aliases": [], + "ipv4_address": "", + "ipv6_address": "", + "name": "whisper-asr" + } + ], + "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": [ + "data.docker_registry_image.whisper-asr", + "docker_image.whisper-asr", + "docker_network.whisper-asr" + ] + } + ] + }, { "mode": "managed", "type": "docker_container", @@ -6334,15 +6849,15 @@ "attributes": { "build": [], "force_remove": null, - "id": "sha256:be843d0d49e1fb401a6528304ee9ca6c542f4aa234fd3e524b8e7bee919a945bghcr.io/autobrr/autobrr:latest", - "image_id": "sha256:be843d0d49e1fb401a6528304ee9ca6c542f4aa234fd3e524b8e7bee919a945b", + "id": "sha256:7b7df93474eb2df2f2b1b71720365962cb8bd96ab1b860f5521fa8126372a4daghcr.io/autobrr/autobrr:latest", + "image_id": "sha256:7b7df93474eb2df2f2b1b71720365962cb8bd96ab1b860f5521fa8126372a4da", "keep_locally": null, "name": "ghcr.io/autobrr/autobrr:latest", "platform": null, "pull_triggers": [ - "sha256:9b11c36605da242933b93dfc0c572bd17fa05af9aba2ae70deafe4977ba8048b" + "sha256:2c0dda4c7cc4e0597292132e3abe93b86e38fa21a491bef4de32861eb6700029" ], - "repo_digest": "ghcr.io/autobrr/autobrr@sha256:9b11c36605da242933b93dfc0c572bd17fa05af9aba2ae70deafe4977ba8048b", + "repo_digest": "ghcr.io/autobrr/autobrr@sha256:2c0dda4c7cc4e0597292132e3abe93b86e38fa21a491bef4de32861eb6700029", "triggers": null }, "sensitive_attributes": [], @@ -6383,6 +6898,36 @@ } ] }, + { + "mode": "managed", + "type": "docker_image", + "name": "bazarr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "build": [], + "force_remove": null, + "id": "sha256:0898e38a035ddd73d05f6a48b7df564ec3508c4d775cd7b2b29037d475610339lscr.io/linuxserver/bazarr:latest", + "image_id": "sha256:0898e38a035ddd73d05f6a48b7df564ec3508c4d775cd7b2b29037d475610339", + "keep_locally": null, + "name": "lscr.io/linuxserver/bazarr:latest", + "platform": null, + "pull_triggers": [ + "sha256:6e901cc2a12f9ec96fab0162a7d8a4dcbf9353f2357470ef59ebb48bc005ce82" + ], + "repo_digest": "lscr.io/linuxserver/bazarr@sha256:6e901cc2a12f9ec96fab0162a7d8a4dcbf9353f2357470ef59ebb48bc005ce82", + "triggers": null + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.docker_registry_image.bazarr" + ] + } + ] + }, { "mode": "managed", "type": "docker_image", @@ -6424,15 +6969,15 @@ "attributes": { "build": [], "force_remove": null, - "id": "sha256:293687cd01b14ee19a27a7711967a4af9de6b4a9d05f2c2a53e50ce93595a5aclinuxserver/deluge:latest", - "image_id": "sha256:293687cd01b14ee19a27a7711967a4af9de6b4a9d05f2c2a53e50ce93595a5ac", + "id": "sha256:1f21ef086de9a692061975b3a38d4695701a749a48168bc0d1f32547ec87aa3dlinuxserver/deluge:latest", + "image_id": "sha256:1f21ef086de9a692061975b3a38d4695701a749a48168bc0d1f32547ec87aa3d", "keep_locally": null, "name": "linuxserver/deluge:latest", "platform": null, "pull_triggers": [ - "sha256:d450a5eddf03ebe12875f0b771b2d96297fd8e1f02856db71788a5a18ce75605" + "sha256:95a2ec01eacc98abe783e60bb95b5cb8b23db106740925f592723cffe3e5857c" ], - "repo_digest": "linuxserver/deluge@sha256:d450a5eddf03ebe12875f0b771b2d96297fd8e1f02856db71788a5a18ce75605", + "repo_digest": "linuxserver/deluge@sha256:95a2ec01eacc98abe783e60bb95b5cb8b23db106740925f592723cffe3e5857c", "triggers": null }, "sensitive_attributes": [], @@ -6634,15 +7179,15 @@ "attributes": { "build": [], "force_remove": null, - "id": "sha256:5cf5f74922cc77fec1ff3b0fb655e99f1116b4c59202b6f0389138606d7c9070ghcr.io/hoarder-app/hoarder", - "image_id": "sha256:5cf5f74922cc77fec1ff3b0fb655e99f1116b4c59202b6f0389138606d7c9070", + "id": "sha256:45c9820e51f11ef9682084981ebd3e2f03032f171c94751c9572e66921f8a256ghcr.io/hoarder-app/hoarder", + "image_id": "sha256:45c9820e51f11ef9682084981ebd3e2f03032f171c94751c9572e66921f8a256", "keep_locally": null, "name": "ghcr.io/hoarder-app/hoarder", "platform": null, "pull_triggers": [ - "sha256:1ffcbe71b11ef23ced1094528a04cf7479e252226fbe8599f6a5d605ffb8a67f" + "sha256:7bb29659a005e39c2de47ac5cb4b97d67b3ac33204a88921cf1c50b57dedffaa" ], - "repo_digest": "ghcr.io/hoarder-app/hoarder@sha256:1ffcbe71b11ef23ced1094528a04cf7479e252226fbe8599f6a5d605ffb8a67f", + "repo_digest": "ghcr.io/hoarder-app/hoarder@sha256:7bb29659a005e39c2de47ac5cb4b97d67b3ac33204a88921cf1c50b57dedffaa", "triggers": null }, "sensitive_attributes": [], @@ -6713,6 +7258,36 @@ } ] }, + { + "mode": "managed", + "type": "docker_image", + "name": "homer", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "build": [], + "force_remove": null, + "id": "sha256:4fd4f3d8b555d31c3685de95138851f3831c979340855e9013040fcb4f8c7a9bb4bz/homer:latest", + "image_id": "sha256:4fd4f3d8b555d31c3685de95138851f3831c979340855e9013040fcb4f8c7a9b", + "keep_locally": null, + "name": "b4bz/homer:latest", + "platform": null, + "pull_triggers": [ + "sha256:799a07d826384f4e32280fafa258362c938955e4bba55d059bbdced588acc1ac" + ], + "repo_digest": "b4bz/homer@sha256:799a07d826384f4e32280fafa258362c938955e4bba55d059bbdced588acc1ac", + "triggers": null + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.docker_registry_image.homer" + ] + } + ] + }, { "mode": "managed", "type": "docker_image", @@ -6773,6 +7348,36 @@ } ] }, + { + "mode": "managed", + "type": "docker_image", + "name": "lidarr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "build": [], + "force_remove": null, + "id": "sha256:b9bf498f0d7be2964cd036d202d7059a6d727b92a1a80c0f60f550905d51fc1blscr.io/linuxserver/lidarr:latest", + "image_id": "sha256:b9bf498f0d7be2964cd036d202d7059a6d727b92a1a80c0f60f550905d51fc1b", + "keep_locally": null, + "name": "lscr.io/linuxserver/lidarr:latest", + "platform": null, + "pull_triggers": [ + "sha256:f6cfa621faf759bd7936473a28a05671f23ab3246ca932341ee5a20a887143ca" + ], + "repo_digest": "lscr.io/linuxserver/lidarr@sha256:f6cfa621faf759bd7936473a28a05671f23ab3246ca932341ee5a20a887143ca", + "triggers": null + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.docker_registry_image.lidarr" + ] + } + ] + }, { "mode": "managed", "type": "docker_image", @@ -7054,15 +7659,15 @@ "attributes": { "build": [], "force_remove": null, - "id": "sha256:e8650470e9533cd8ac6c041f070a83b24e48680ad7b08d553b44ed20c1fc6cacghcr.io/hotio/readarr", - "image_id": "sha256:e8650470e9533cd8ac6c041f070a83b24e48680ad7b08d553b44ed20c1fc6cac", + "id": "sha256:99b2a465c3894f05c689fc5f823bfc5036576ef295d8fd97b70838e04ba257f7ghcr.io/hotio/readarr", + "image_id": "sha256:99b2a465c3894f05c689fc5f823bfc5036576ef295d8fd97b70838e04ba257f7", "keep_locally": null, "name": "ghcr.io/hotio/readarr", "platform": null, "pull_triggers": [ - "sha256:67e4e64c10261a31c70863c2bd446d1fc7d8d9322c6a70098db45ad5aea74a96" + "sha256:53877f6a192c99840952c3ca43596abb0f93747e87fc385ec4d30ee6454b1e16" ], - "repo_digest": "ghcr.io/hotio/readarr@sha256:67e4e64c10261a31c70863c2bd446d1fc7d8d9322c6a70098db45ad5aea74a96", + "repo_digest": "ghcr.io/hotio/readarr@sha256:53877f6a192c99840952c3ca43596abb0f93747e87fc385ec4d30ee6454b1e16", "triggers": null }, "sensitive_attributes": [], @@ -7398,6 +8003,36 @@ } ] }, + { + "mode": "managed", + "type": "docker_image", + "name": "whisper-asr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "build": [], + "force_remove": null, + "id": "sha256:a93855a32932f9a47515cee90ea4ebe28112e7a361c495080a6475ba05f9a492onerahmet/openai-whisper-asr-webservice:latest", + "image_id": "sha256:a93855a32932f9a47515cee90ea4ebe28112e7a361c495080a6475ba05f9a492", + "keep_locally": null, + "name": "onerahmet/openai-whisper-asr-webservice:latest", + "platform": null, + "pull_triggers": [ + "sha256:ce030954e4d0d6abad8f13e853b1c12745cc81f3e2ccef96d64fda927600f71a" + ], + "repo_digest": "onerahmet/openai-whisper-asr-webservice@sha256:ce030954e4d0d6abad8f13e853b1c12745cc81f3e2ccef96d64fda927600f71a", + "triggers": null + }, + "sensitive_attributes": [], + "private": "bnVsbA==", + "dependencies": [ + "data.docker_registry_image.whisper-asr" + ] + } + ] + }, { "mode": "managed", "type": "docker_image", @@ -7713,6 +8348,42 @@ } ] }, + { + "mode": "managed", + "type": "docker_network", + "name": "whisper-asr", + "provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]", + "instances": [ + { + "schema_version": 1, + "attributes": { + "attachable": false, + "check_duplicate": null, + "driver": "bridge", + "id": "e0c2ccf7ca83d89549e4df2d8f0657deab558de885b88ad7a4558773c0c0030e", + "ingress": false, + "internal": false, + "ipam_config": [ + { + "aux_address": {}, + "gateway": "172.29.8.1", + "ip_range": "", + "subnet": "172.29.8.0/22" + } + ], + "ipam_driver": "default", + "ipam_options": {}, + "ipv6": false, + "labels": [], + "name": "whisper-asr", + "options": {}, + "scope": "local" + }, + "sensitive_attributes": [], + "private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==" + } + ] + }, { "mode": "managed", "type": "docker_network", diff --git a/whisper-asr.tf b/whisper-asr.tf new file mode 100644 index 0000000..c95c6e2 --- /dev/null +++ b/whisper-asr.tf @@ -0,0 +1,36 @@ +data "docker_registry_image" "whisper-asr" { + name = "onerahmet/openai-whisper-asr-webservice:latest" +} + +resource "docker_image" "whisper-asr" { + name = data.docker_registry_image.whisper-asr.name + pull_triggers = [data.docker_registry_image.whisper-asr.sha256_digest] +} + +resource "docker_network" "whisper-asr" { + name = "whisper-asr" +} + +resource "docker_container" "whisper-asr" { + image = docker_image.whisper-asr.image_id + name = "whisper-asr" + restart = "always" + + log_driver = "local" + + env = [ + "ASR_MODEL=base", + "ASR_ENGINE=openai_whisper", + ] + + networks_advanced { + name = docker_network.whisper-asr.name + } + + lifecycle { + ignore_changes = [ + ulimit, + log_opts + ] + } +}