Get volume to work
This commit is contained in:
+8
-15
@@ -35,23 +35,16 @@ resource "docker_container" "audiobookshelf" {
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
mounts {
|
||||
target = "/audiobooks"
|
||||
source = "/share/datarr/media/audiobooks"
|
||||
type = "bind"
|
||||
volumes {
|
||||
container_path = "/truenas-arr"
|
||||
volume_name = "truenas-arr"
|
||||
}
|
||||
|
||||
mounts {
|
||||
target = "/podcasts"
|
||||
source = "/share/datarr/media/podcasts"
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
mounts {
|
||||
target = "/podcasts"
|
||||
source = "/share/datarr/media/podcasts"
|
||||
type = "bind"
|
||||
}
|
||||
# mounts {
|
||||
# target = "/audiobooks"
|
||||
# source = "/share/datarr/media/audiobooks"
|
||||
# type = "bind"
|
||||
# }
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [
|
||||
|
||||
+2
-2
@@ -52,7 +52,7 @@ resource "docker_volume" "truenas-arr" {
|
||||
name = "truenas-arr"
|
||||
driver_opts = {
|
||||
type = "cifs",
|
||||
device = "//truenas.local/arr-media"
|
||||
o = "addr=truenas.local,username=dqnap,password=vPKnUmApyQRE5$n,file_mode=0777,dir_mode=0777"
|
||||
device = "//172.20.0.188/arr-media"
|
||||
o = "username=dqnap,password=vPKnUmApyQRE5$n,file_mode=0777,dir_mode=0777"
|
||||
}
|
||||
}
|
||||
|
||||
+344
-248
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+300
-902
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user