homelab/nomad-job/volume/registry-docker.hcl
2024-03-29 21:14:24 +01:00

18 lines
344 B
HCL

type = "csi"
id = "registry-docker"
name = "registry-docker"
external_id = "registry-docker"
plugin_id = "nfs"
capability {
access_mode = "multi-node-multi-writer"
attachment_mode = "file-system"
}
context {
server = "nfs.service.consul"
share = "/nomad/registry/docker"
}
mount_options {
fs_type = "nfs"
mount_flags = [ "vers=4" ]
}