Migrate to NFS share.

This commit is contained in:
2025-10-23 17:27:06 +01:00
parent 75c60b29e8
commit bbd072abf2
9 changed files with 38 additions and 38 deletions

View File

@@ -15,10 +15,10 @@ job "netbox" {
image = "docker.io/netboxcommunity/netbox:v3.7-2.8.0"
ports = ["http"]
volumes = [
"/data/compute/appdata/netbox/configuration:/etc/netbox/config:z,ro",
"/data/compute/appdata/netbox/media:/opt/netbox/media",
"/data/compute/appdata/netbox/reports:/opt/netbox/reports",
"/data/compute/appdata/netbox/files:/opt/netbox/scripts",
"/data/services/netbox/configuration:/etc/netbox/config:z,ro",
"/data/services/netbox/media:/opt/netbox/media",
"/data/services/netbox/reports:/opt/netbox/reports",
"/data/services/netbox/files:/opt/netbox/scripts",
]
}
@@ -71,10 +71,10 @@ job "netbox" {
"rqworker",
]
volumes = [
"/data/compute/appdata/netbox/configuration:/etc/netbox/config:z,ro",
"/data/compute/appdata/netbox/media:/opt/netbox/media",
"/data/compute/appdata/netbox/reports:/opt/netbox/reports",
"/data/compute/appdata/netbox/files:/opt/netbox/scripts",
"/data/services/netbox/configuration:/etc/netbox/config:z,ro",
"/data/services/netbox/media:/opt/netbox/media",
"/data/services/netbox/reports:/opt/netbox/reports",
"/data/services/netbox/files:/opt/netbox/scripts",
]
}
@@ -101,10 +101,10 @@ job "netbox" {
image = "docker.io/netboxcommunity/netbox:v3.7-2.8.0"
command = "/opt/netbox/housekeeping.sh"
volumes = [
"/data/compute/appdata/netbox/configuration:/etc/netbox/config:z,ro",
"/data/compute/appdata/netbox/media:/opt/netbox/media",
"/data/compute/appdata/netbox/reports:/opt/netbox/reports",
"/data/compute/appdata/netbox/files:/opt/netbox/scripts",
"/data/services/netbox/configuration:/etc/netbox/config:z,ro",
"/data/services/netbox/media:/opt/netbox/media",
"/data/services/netbox/reports:/opt/netbox/reports",
"/data/services/netbox/files:/opt/netbox/scripts",
]
}