nix-cluster/apps/searxng/searxng.hcl

31 lines
524 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 {
name = "searxng"
port = "http_port"
}
}
}
}