Added service files to repository

This commit is contained in:
2023-04-27 09:13:22 +00:00
parent 84dadb02bc
commit 1ac1257964
5 changed files with 239 additions and 0 deletions

51
local-proxy.json Normal file
View File

@@ -0,0 +1,51 @@
{
"main": {
"SERVICE_NAME": "local-loadbalancer",
"DOMAIN": "null"
},
"containers": [
{
"IMAGE": "registry.format.hu/local-loadbalancer:2.5.4",
"NAME": "localloadbalancer",
"SELECTOR": "localloadbalancer",
"UPDATE": "true",
"ROLES": "frontend-proxy",
"MEMORY": "256M",
"NETWORK": "localloadbalancer",
"DNS": [ "coredns" ],
"READYNESS": [
{"tcp": "80"},
{"HTTP": "8080"},
{"EXEC": "/ready.sh"}
],
"PORTS": [
{
"SOURCE": "80",
"DEST": "80",
"TYPE": "tcp"
},
{
"SOURCE": "443",
"DEST": "443",
"TYPE": "tcp"
}
],
"VOLUMES": [
],
"READYNESS": [
{"tcp": "80"},
{"HTTP": "8080"},
{"EXEC": "/ready.sh"}
],
"EXTRA": "--restart on-failure --log-opt max-size=500m --label ROLES=loadbalancer" ,
"DEPEND": [ ],
"START_ON_BOOT": "true",
"CMD": "null",
"PRE_START": [ ],
"POST_START": [
"firewall-localloadbalancer-dns",
"firewall-localloadbalancer-to-smarthostbackend"
]
}
]
}