Get volume to work

This commit is contained in:
Marc Fokkert
2025-02-20 23:25:40 +01:00
parent 5c66c7f8f4
commit 8cc469a091
5 changed files with 9067 additions and 1167 deletions

View File

@@ -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 = [

View File

@@ -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"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff