Move arrs

This commit is contained in:
Marc Fokkert
2025-08-31 11:48:50 +02:00
parent 6fb5b7da0f
commit bbf82974ac
11 changed files with 23 additions and 24 deletions
+3 -4
View File
@@ -10,7 +10,6 @@ resource "docker_image" "configarr" {
resource "docker_container" "configarr" { resource "docker_container" "configarr" {
image = docker_image.configarr.image_id image = docker_image.configarr.image_id
name = "configarr" name = "configarr"
# restart = "always"
log_driver = "local" log_driver = "local"
@@ -20,20 +19,20 @@ resource "docker_container" "configarr" {
mounts { mounts {
target = "/app/config" target = "/app/config"
source = "/share/appdata/configarr/config" source = "/var/lib/containers/configarr/config"
type = "bind" type = "bind"
} }
mounts { mounts {
target = "/app/cfs" target = "/app/cfs"
source = "/share/appdata/configarr/cfs" source = "/var/lib/containers/configarr/cfs"
type = "bind" type = "bind"
} }
mounts { mounts {
target = "/app/templates" target = "/app/templates"
source = "/share/appdata/configarr/templates" source = "/var/lib/containers/configarr/templates"
type = "bind" type = "bind"
} }
+1 -1
View File
@@ -46,7 +46,7 @@ resource "docker_container" "gluetun" {
networks_advanced { networks_advanced {
name = docker_network.container-public.name name = docker_network.container-public.name
ipv4_address = "192.168.3.27" ipv4_address = "192.168.3.27"
} }s
lifecycle { lifecycle {
ignore_changes = [ ignore_changes = [
+4 -4
View File
@@ -21,19 +21,19 @@ resource "docker_container" "lidarr" {
] ]
networks_advanced { networks_advanced {
name = docker_network.bridge.name name = docker_network.container-public.name
ipv4_address = "192.168.2.154" ipv4_address = "192.168.3.33"
} }
mounts { mounts {
target = "/config" target = "/config"
source = "/share/appdata/lidarr" source = "/var/lib/containers/lidarr"
type = "bind" type = "bind"
} }
volumes { volumes {
container_path = "/data" container_path = "/data"
volume_name = "truenas-arr" volume_name = docker_volume.truenas-arr.name
} }
lifecycle { lifecycle {
+3 -3
View File
@@ -22,13 +22,13 @@ resource "docker_container" "prowlarr" {
] ]
networks_advanced { networks_advanced {
name = docker_network.bridge.name name = docker_network.container-public.name
ipv4_address = "192.168.2.141" ipv4_address = "192.168.3.34"
} }
mounts { mounts {
target = "/config" target = "/config"
source = "/share/appdata/prowlarr" source = "/var/lib/containers/prowlarr"
type = "bind" type = "bind"
} }
+4 -4
View File
@@ -21,19 +21,19 @@ resource "docker_container" "radarr" {
] ]
networks_advanced { networks_advanced {
name = docker_network.bridge.name name = docker_network.container-public.name
ipv4_address = "192.168.2.138" ipv4_address = "192.168.3.35"
} }
mounts { mounts {
target = "/config" target = "/config"
source = "/share/appdata/radarr" source = "/var/lib/containers/radarr"
type = "bind" type = "bind"
} }
volumes { volumes {
container_path = "/data" container_path = "/data"
volume_name = "truenas-arr" volume_name = docker_volume.truenas-arr.name
} }
lifecycle { lifecycle {
+4 -4
View File
@@ -21,19 +21,19 @@ resource "docker_container" "sonarr" {
] ]
networks_advanced { networks_advanced {
name = docker_network.bridge.name name = docker_network.container-public.name
ipv4_address = "192.168.2.136" ipv4_address = "192.168.3.36"
} }
mounts { mounts {
target = "/config" target = "/config"
source = "/share/appdata/sonarr" source = "/var/lib/containers/sonarr"
type = "bind" type = "bind"
} }
volumes { volumes {
container_path = "/data" container_path = "/data"
volume_name = "truenas-arr" volume_name = docker_volume.truenas-arr.name
} }
lifecycle { lifecycle {
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long