Use proper DHV syntax for host volumes
All checks were successful
Build and Deploy Frigate / build-push-deploy (push) Successful in 28s
All checks were successful
Build and Deploy Frigate / build-push-deploy (push) Successful in 28s
Volumes are now registered as dynamic host volumes via nomad volume register, not as static host_volume blocks in nomad.hcl. Use access_mode and attachment_mode in volume stanzas to match DHV API.
This commit is contained in:
@@ -21,15 +21,19 @@ job "frigate" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
volume "frigate-config" {
|
volume "frigate-config" {
|
||||||
type = "host"
|
type = "host"
|
||||||
source = "frigate-config"
|
source = "frigate-config"
|
||||||
read_only = false
|
read_only = false
|
||||||
|
access_mode = "single-node-writer"
|
||||||
|
attachment_mode = "file-system"
|
||||||
}
|
}
|
||||||
|
|
||||||
volume "frigate-media" {
|
volume "frigate-media" {
|
||||||
type = "host"
|
type = "host"
|
||||||
source = "frigate-media"
|
source = "frigate-media"
|
||||||
read_only = false
|
read_only = false
|
||||||
|
access_mode = "single-node-writer"
|
||||||
|
attachment_mode = "file-system"
|
||||||
}
|
}
|
||||||
|
|
||||||
task "frigate" {
|
task "frigate" {
|
||||||
|
|||||||
Reference in New Issue
Block a user