homelab/nomad-job/volume/registry-docker.hcl

18 lines
344 B
HCL
Raw Permalink Normal View History

2024-03-17 17:58:24 +00:00
type = "csi"
id = "registry-docker"
name = "registry-docker"
2024-03-29 20:14:24 +00:00
external_id = "registry-docker"
2024-03-17 17:58:24 +00:00
plugin_id = "nfs"
capability {
access_mode = "multi-node-multi-writer"
attachment_mode = "file-system"
}
context {
server = "nfs.service.consul"
2024-03-29 20:14:24 +00:00
share = "/nomad/registry/docker"
2024-03-17 17:58:24 +00:00
}
mount_options {
fs_type = "nfs"
2024-03-29 20:14:24 +00:00
mount_flags = [ "vers=4" ]
2024-03-17 17:58:24 +00:00
}