Use volume for datarr
Disable rutorrent and esphome Updates
This commit is contained in:
@@ -40,12 +40,6 @@ resource "docker_container" "audiobookshelf" {
|
||||
volume_name = "truenas-arr"
|
||||
}
|
||||
|
||||
# mounts {
|
||||
# target = "/audiobooks"
|
||||
# source = "/share/datarr/media/audiobooks"
|
||||
# type = "bind"
|
||||
# }
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [
|
||||
ulimit,
|
||||
|
||||
13
jellyfin.tf
13
jellyfin.tf
@@ -38,16 +38,9 @@ resource "docker_container" "jellyfin" {
|
||||
}
|
||||
|
||||
# https://wiki.servarr.com/docker-guide#Consistent_and_well_planned_paths
|
||||
mounts {
|
||||
target = "/media"
|
||||
source = "/share/datarr/media"
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
mounts {
|
||||
target = "/media-hdd"
|
||||
source = "/share/datarr-hdd/media"
|
||||
type = "bind"
|
||||
volumes {
|
||||
container_path = "/datarr"
|
||||
volume_name = "truenas-arr"
|
||||
}
|
||||
|
||||
devices {
|
||||
|
||||
@@ -31,10 +31,9 @@ resource "docker_container" "radarr" {
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
mounts {
|
||||
target = "/data"
|
||||
source = "/share/datarr"
|
||||
type = "bind"
|
||||
volumes {
|
||||
container_path = "/data"
|
||||
volume_name = "truenas-arr"
|
||||
}
|
||||
|
||||
lifecycle {
|
||||
|
||||
@@ -31,10 +31,9 @@ resource "docker_container" "readarr" {
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
mounts {
|
||||
target = "/data"
|
||||
source = "/share/datarr"
|
||||
type = "bind"
|
||||
volumes {
|
||||
container_path = "/data"
|
||||
volume_name = "truenas-arr"
|
||||
}
|
||||
|
||||
lifecycle {
|
||||
|
||||
@@ -32,10 +32,9 @@ resource "docker_container" "sabnzdb" {
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
mounts {
|
||||
target = "/data/usenet"
|
||||
source = "/share/datarr/usenet"
|
||||
type = "bind"
|
||||
volumes {
|
||||
container_path = "/data"
|
||||
volume_name = "truenas-arr"
|
||||
}
|
||||
|
||||
lifecycle {
|
||||
|
||||
@@ -31,10 +31,9 @@ resource "docker_container" "sonarr" {
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
mounts {
|
||||
target = "/data"
|
||||
source = "/share/datarr"
|
||||
type = "bind"
|
||||
volumes {
|
||||
container_path = "/data"
|
||||
volume_name = "truenas-arr"
|
||||
}
|
||||
|
||||
lifecycle {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 4,
|
||||
"terraform_version": "1.5.5",
|
||||
"serial": 4569,
|
||||
"serial": 4574,
|
||||
"lineage": "fcc74498-a461-682e-d8e4-5bc8c6ea51ec",
|
||||
"outputs": {},
|
||||
"resources": [
|
||||
@@ -970,8 +970,8 @@
|
||||
"group_add": null,
|
||||
"healthcheck": null,
|
||||
"host": [],
|
||||
"hostname": "275155c84ed6",
|
||||
"id": "275155c84ed66b0740cde4ce20f543c03d030db169f0070d6643abb039dc8641",
|
||||
"hostname": "c1640b5ae290",
|
||||
"id": "c1640b5ae29093277bc6e56fd5f63d2fd633ccd624a00bd7ff73ac8f337fa761",
|
||||
"image": "sha256:249288fd3bed321b1d2cddcd7c5cbe831b9b44cd93dcc51f08207032dbe50cf2",
|
||||
"init": false,
|
||||
"ipc_mode": "private",
|
||||
@@ -1012,7 +1012,7 @@
|
||||
"ip_address": "192.168.2.146",
|
||||
"ip_prefix_length": 24,
|
||||
"ipv6_gateway": "",
|
||||
"mac_address": "02:42:73:4b:d4:84",
|
||||
"mac_address": "02:42:ee:53:4d:f7",
|
||||
"network_name": "qnet-static-eth0-48e715"
|
||||
}
|
||||
],
|
||||
@@ -1050,7 +1050,7 @@
|
||||
"userns_mode": "",
|
||||
"volumes": [
|
||||
{
|
||||
"container_path": "/audiobooks",
|
||||
"container_path": "/truenas-arr",
|
||||
"from_container": "",
|
||||
"host_path": "",
|
||||
"read_only": null,
|
||||
@@ -1617,7 +1617,7 @@
|
||||
"healthcheck": null,
|
||||
"host": [],
|
||||
"hostname": "dozzle",
|
||||
"id": "d8dce4efc56780f340a2c6652619dfc9316c71ba51247bde787417c4044ca729",
|
||||
"id": "99c1820243302f11ddf3b1e4da4e1f7c9da875ef45aa772c394164abc4598705",
|
||||
"image": "sha256:9ceba54318cdeb63bbfa21d6176af1720f46a323c62aee80f43db15f47c9eceb",
|
||||
"init": false,
|
||||
"ipc_mode": "private",
|
||||
@@ -1649,7 +1649,7 @@
|
||||
"ip_address": "192.168.2.144",
|
||||
"ip_prefix_length": 24,
|
||||
"ipv6_gateway": "",
|
||||
"mac_address": "02:42:82:00:8f:c1",
|
||||
"mac_address": "02:42:05:1e:42:67",
|
||||
"network_name": "qnet-static-eth0-48e715"
|
||||
}
|
||||
],
|
||||
@@ -6096,16 +6096,6 @@
|
||||
"must_run": true,
|
||||
"name": "traccar",
|
||||
"network_data": [
|
||||
{
|
||||
"gateway": "172.29.0.1",
|
||||
"global_ipv6_address": "",
|
||||
"global_ipv6_prefix_length": 0,
|
||||
"ip_address": "172.29.0.2",
|
||||
"ip_prefix_length": 22,
|
||||
"ipv6_gateway": "",
|
||||
"mac_address": "02:42:ac:1d:00:02",
|
||||
"network_name": "mariadb"
|
||||
},
|
||||
{
|
||||
"gateway": "192.168.2.1",
|
||||
"global_ipv6_address": "",
|
||||
@@ -6115,6 +6105,16 @@
|
||||
"ipv6_gateway": "",
|
||||
"mac_address": "02:42:e1:d7:ce:9c",
|
||||
"network_name": "qnet-static-eth0-48e715"
|
||||
},
|
||||
{
|
||||
"gateway": "172.29.0.1",
|
||||
"global_ipv6_address": "",
|
||||
"global_ipv6_prefix_length": 0,
|
||||
"ip_address": "172.29.0.2",
|
||||
"ip_prefix_length": 22,
|
||||
"ipv6_gateway": "",
|
||||
"mac_address": "02:42:ac:1d:00:02",
|
||||
"network_name": "mariadb"
|
||||
}
|
||||
],
|
||||
"network_mode": "default",
|
||||
|
||||
Reference in New Issue
Block a user