Get volume to work
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user