Move nzbget to proxmox nfs share
This commit is contained in:
parent
bac0b28f68
commit
2f9d0533e0
@ -22,6 +22,12 @@ all:
|
||||
group: "bin"
|
||||
mode: "0755"
|
||||
read_only: false
|
||||
# Moxy shared volumes
|
||||
- name: nzbget-config
|
||||
path: /srv/volumes/moxy/nzbget
|
||||
owner: "nobody"
|
||||
group: "bin"
|
||||
read_only: false
|
||||
n2.thefij:
|
||||
nfs_mounts:
|
||||
- src: 10.50.250.2:/srv/volumes
|
||||
@ -48,9 +54,10 @@ all:
|
||||
group: "bin"
|
||||
mode: "0755"
|
||||
read_only: false
|
||||
- name: nzbget-data
|
||||
path: /srv/volumes/nzbget
|
||||
owner: "root"
|
||||
# Moxy shared volumes
|
||||
- name: nzbget-config
|
||||
path: /srv/volumes/moxy/nzbget
|
||||
owner: "nobody"
|
||||
group: "bin"
|
||||
mode: "0755"
|
||||
read_only: false
|
||||
|
@ -7,7 +7,12 @@ job "nzbget" {
|
||||
}
|
||||
|
||||
backup {
|
||||
paths = ["/data/nzbget"]
|
||||
paths = [
|
||||
# Configuration
|
||||
"/data/nzbget",
|
||||
# Queued nzb files
|
||||
"/data/media-write/Downloads/nzb",
|
||||
]
|
||||
# Because path is absolute
|
||||
restore_opts {
|
||||
Target = "/"
|
||||
|
@ -74,7 +74,7 @@ job "ipdvr" {
|
||||
}
|
||||
|
||||
volume_mount {
|
||||
volume = "nzbget-data"
|
||||
volume = "nzbget-config"
|
||||
destination = "/config"
|
||||
read_only = false
|
||||
}
|
||||
@ -87,7 +87,7 @@ job "ipdvr" {
|
||||
|
||||
resources {
|
||||
cpu = 200
|
||||
memory = 200
|
||||
memory = 300
|
||||
memory_max = 500
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user