fixing templates tab

This commit is contained in:
2025-09-29 08:39:49 -07:00
parent fb3a25d372
commit 5019c3201c
3 changed files with 714 additions and 25 deletions

View File

@@ -56,11 +56,13 @@ job "foodplanner" {
# Mount the SQLite database file to persist data
# Adjust the source path as needed for your environment
volumes = [
"/alloc/data/:/app/data/",
"/mnt/Public/configs/FoodPlanner_backups:/app/backups/",
]
}
env {
DATABASE_PATH = "/alloc/tmp"
DATABASE_URL = "sqlite:////alloc/tmp/meal_planner.db"
}
resources {
cpu = 500
memory = 1024
@@ -89,9 +91,6 @@ job "foodplanner" {
"/alloc/tmp/meal_planner.db",
"sftp://root:odroid@192.168.4.63/mnt/Shares/litestream/foodplanner.db"
]
volumes = [
"/opt/nomad/data:/data"
]
}
}
}