Files
ti/citti.nomad
Henrik Jess Nielsen 77eed9aa50
Some checks failed
Build and Deploy citti / build-and-deploy (push) Failing after 5s
Fix workflow: use debian-host runner and registry.i80.dk
Match BlaaAi deployment pattern: debian-host runner, Harbor registry,
nomad CLI directly, NOMAD_ADDR=https://nomad.i80.dk:4646.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 01:00:04 +02:00

51 lines
781 B
HCL

job "citti" {
datacenters = ["dc1"]
type = "service"
group "app" {
count = 1
volume "citti-data" {
type = "host"
read_only = false
source = "citti-data"
}
network {
port "http" {
static = 9756
}
}
task "web" {
driver = "docker"
config {
image = "registry.i80.dk/gitea/citti:latest"
ports = ["http"]
force_pull = true
}
volume_mount {
volume = "citti-data"
destination = "/data"
read_only = false
}
env {
DATA_DIR = "/data"
}
resources {
cpu = 200
memory = 256
}
service {
name = "citti"
port = "http"
}
}
}
}