nix-cluster/apps/searxng/searxng.hcl
2025-11-22 17:50:04 +01:00

34 lines
589 B
HCL

job "searxng" {
datacenters = [ "gribse-house", "zuma-house", "mayel-house" ]
type = "service"
priority = 90
group "searxng" {
network {
port "http_port" { static = 8080 }
}
task "server" {
driver = "docker"
config {
image = "searxng/searxng:latest"
network_mode = "host"
ports = [ "http_port" ]
}
resources {
cpu = 500
memory = 200
}
service {
tags = [
"tricot search.chokbar.bzh"
]
name = "searxng"
port = "http_port"
}
}
}
}