Make diun disk sticky

This commit is contained in:
IamTheFij 2023-09-27 21:34:14 -07:00
parent f80eccdfa2
commit d83591cfd4
1 changed files with 3 additions and 1 deletions

View File

@ -5,8 +5,10 @@ module "diun" {
image = "crazymax/diun:4.26"
args = ["serve", "--log-level=debug"]
sticky_disk = true
env = {
DIUN_DB_PATH = "$${NOMAD_TASK_DIR}/diun.db"
DIUN_DB_PATH = "$${NOMAD_ALLOC_DIR}/data/diun.db"
DIUN_WATCH_SCHEDULE = "0 */6 * * *"
DIUN_PROVIDERS_NOMAD_WATCHBYDEFAULT = true
DIUN_DEFAULTS_WATCHREPO = true