first commit
This commit is contained in:
10
nomad_backup/20251115_142246/minihass.json
Normal file
10
nomad_backup/20251115_142246/minihass.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Format": "hcl2",
|
||||
"JobID": "minihass",
|
||||
"JobModifyIndex": 14013055,
|
||||
"Namespace": "default",
|
||||
"Source": "job \"minihass\" {\n datacenters = [\"dc1\"]\n\n group \"smart-home\" {\n network {\n mode = \"host\"\n port \"http\" {\n to = 5000\n }\n }\n\n service {\n name = \"minihass\"\n port = \"http\"\n tags = [\n \"traefik.http.routers.minihasslan.rule=Host(`minihass.service.dc1.consul`)\",\n \"traefik.http.routers.minihasswan.rule=Host(`mh.fbleagh.duckdns.org`)\",\n \"traefik.http.routers.minihasswan.middlewares=dex@consulcatalog\",\n \"traefik.http.routers.minihasswan.tls=true\",\n ]\n check {\n type = \"http\"\n path = \"/health\"\n interval = \"30s\"\n timeout = \"7s\"\n }\n }\n\n task \"app\" {\n driver = \"docker\"\n\n config {\n image = \"ghcr.io/sstent/minihass\"\n ports = [\"http\"]\n }\n\n env {\n CONSUL_HOST = \"consul.service.dc1.consul\"\n CONSUL_PORT = \"8500\"\n }\n\n resources {\n cpu = 500\n memory = 256\n }\n }\n }\n}\n",
|
||||
"VariableFlags": null,
|
||||
"Variables": "",
|
||||
"Version": 3
|
||||
}
|
||||
Reference in New Issue
Block a user