Added Caddyfile configuration + Searxng job
This commit is contained in:
parent
c4246661ef
commit
255a0e0e61
4 changed files with 52 additions and 0 deletions
30
apps/searxng/searxng.hcl
Normal file
30
apps/searxng/searxng.hcl
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
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"
|
||||
ports = [ "http_port" ]
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 200
|
||||
}
|
||||
|
||||
service {
|
||||
name = "searxng"
|
||||
port = "http_port"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue