Make diun disk sticky
This commit is contained in:
parent
f80eccdfa2
commit
d83591cfd4
@ -5,8 +5,10 @@ module "diun" {
|
|||||||
image = "crazymax/diun:4.26"
|
image = "crazymax/diun:4.26"
|
||||||
args = ["serve", "--log-level=debug"]
|
args = ["serve", "--log-level=debug"]
|
||||||
|
|
||||||
|
sticky_disk = true
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
DIUN_DB_PATH = "$${NOMAD_TASK_DIR}/diun.db"
|
DIUN_DB_PATH = "$${NOMAD_ALLOC_DIR}/data/diun.db"
|
||||||
DIUN_WATCH_SCHEDULE = "0 */6 * * *"
|
DIUN_WATCH_SCHEDULE = "0 */6 * * *"
|
||||||
DIUN_PROVIDERS_NOMAD_WATCHBYDEFAULT = true
|
DIUN_PROVIDERS_NOMAD_WATCHBYDEFAULT = true
|
||||||
DIUN_DEFAULTS_WATCHREPO = true
|
DIUN_DEFAULTS_WATCHREPO = true
|
||||||
|
Loading…
Reference in New Issue
Block a user