Update airsonic to use datarr

This commit is contained in:
Marc Fokkert
2025-03-04 16:57:13 +01:00
parent b1e9cd43ee
commit 6f8c880f67
3 changed files with 225 additions and 80 deletions

View File

@@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "1.5.5",
"serial": 4775,
"serial": 4777,
"lineage": "fcc74498-a461-682e-d8e4-5bc8c6ea51ec",
"outputs": {},
"resources": [
@@ -3007,9 +3007,9 @@
"cpu_shares": 0,
"destroy_grace_seconds": null,
"devices": [],
"dns": null,
"dns_opts": null,
"dns_search": null,
"dns": [],
"dns_opts": [],
"dns_search": [],
"domainname": "",
"entrypoint": [
"/bin/sh",
@@ -3022,7 +3022,7 @@
],
"exit_code": null,
"gpus": null,
"group_add": null,
"group_add": [],
"healthcheck": [
{
"interval": "30s",
@@ -3043,7 +3043,7 @@
"ipc_mode": "private",
"labels": [],
"log_driver": "local",
"log_opts": null,
"log_opts": {},
"logs": false,
"max_retry_count": 0,
"memory": 0,
@@ -3051,7 +3051,7 @@
"mounts": [
{
"bind_options": [],
"read_only": null,
"read_only": false,
"source": "/share/appdata/homer",
"target": "/www/assets",
"tmpfs_options": [],
@@ -3113,11 +3113,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": "1000:1000",
"userns_mode": "",
@@ -3427,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",
@@ -3493,16 +3627,6 @@
"must_run": true,
"name": "mariadb",
"network_data": [
{
"gateway": "192.168.2.1",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.127",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:d5:f9:ea:da",
"network_name": "qnet-static-eth0-48e715"
},
{
"gateway": "172.29.0.1",
"global_ipv6_address": "",
@@ -3512,6 +3636,16 @@
"ipv6_gateway": "",
"mac_address": "02:42:ac:1d:00:05",
"network_name": "mariadb"
},
{
"gateway": "192.168.2.1",
"global_ipv6_address": "",
"global_ipv6_prefix_length": 0,
"ip_address": "192.168.2.127",
"ip_prefix_length": 24,
"ipv6_gateway": "",
"mac_address": "02:42:d5:f9:ea:da",
"network_name": "qnet-static-eth0-48e715"
}
],
"network_mode": "default",
@@ -4069,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": "",
@@ -4088,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",