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