{ "main": { "SERVICE_NAME": "smarthost-proxy", "DOMAIN": "null" }, "networks": [ { "NAME": "smarthost-loadbalancer", "DRIVER": "bridge", "SUBNET": "172.18.103.0/24", "RANGE": "172.18.103.0/24", "GATEWAY": "172.18.103.1" }, { "NAME": "smarthost_backend-1", "DRIVER": "bridge", "SUBNET": "172.18.104.0/24", "RANGE": "172.18.104.0/24", "GATEWAY": "172.18.104.1" }, { "NAME": "smarthost_backend-2", "DRIVER": "bridge", "SUBNET": "172.18.105.0/24", "RANGE": "172.18.105.0/24", "GATEWAY": "172.18.105.1" } ], "containers": [ { "IMAGE": "registry.format.hu/haproxy:2.5.4", "NAME": "smarthost_loadbalancer-27dhuwth", "ROLES": "smarthost-frontend-proxy", "MEMORY": "128M", "IP": "172.18.103.2", "NETWORK": "smarthost-loadbalancer", "DNS": [ "proxy_dns" ], "READYNESS": [ {"tcp": "80"}, {"HTTP": "8080"}, {"EXEC": "/ready.sh"} ], "PORTS": [ { "SOURCE": "null", "DEST": "80", "TYPE": "tcp" }, { "SOURCE": "null", "DEST": "443", "TYPE": "tcp" } ], "VOLUMES": [ { "SOURCE": "/etc/system/log/smarthost-proxy/loadbalancer", "DEST": "/var/log/haproxy", "TYPE": "rw" } ], "READYNESS": [ {"tcp": "80"}, {"HTTP": "8080"}, {"EXEC": "/ready.sh"} ], "EXTRA": "--label ROLES=loadbalancer" , "DEPEND": [ "proxy-dns" ], "START_ON_BOOT": "true", "CMD": "null", "PRE_START": [ ], "POST_START": [ "firewall-dns", "firewall-letsencrypt", "firewall-smarhost-loadbalancer" ] }, { "IMAGE": "registry.format.hu/nginx:1.21", "NAME": "smarthost_backend-1", "ROLES": "smarthost-backend-proxy", "MEMORY": "64M", "IP": "172.18.104.2", "NETWORK": "smarthost_backend-1", "PORTS": [ { "SOURCE": "null", "DEST": "80", "TYPE": "tcp" }, { "SOURCE": "null", "DEST": "443", "TYPE": "tcp" } ], "VOLUMES": [ { "SOURCE": "/etc/system/config/smarthost-proxy/nginx", "DEST": "/etc/nginx/conf.d", "TYPE": "ro" }, { "SOURCE": "/etc/ssl/keys", "DEST": "/etc/ssl/keys", "TYPE": "ro" }, { "SOURCE": "/etc/system/log/smarthost-proxy/backend-1", "DEST": "/var/log/nginx", "TYPE": "rw" } ], "READYNESS": [ {"tcp": "80"}, {"HTTP": "8080"}, {"EXEC": "/ready.sh"} ], "EXTRA": "null", "DEPEND": "null", "START_ON_BOOT": "true", "CMD": "null", "PRE_START": "null", "POST_START": [ "firewall-backend" ] }, { "IMAGE": "registry.format.hu/nginx:1.21", "NAME": "smarthost_backend-2", "ROLES": "smarthost-backend-proxy", "MEMORY": "64M", "IP": "172.18.105.2", "NETWORK": "smarthost_backend-2", "PORTS": [ { "SOURCE": "null", "DEST": "80", "TYPE": "tcp" }, { "SOURCE": "null", "DEST": "443", "TYPE": "tcp" } ], "VOLUMES": [ { "SOURCE": "/etc/system/config/smarthost-proxy/nginx", "DEST": "/etc/nginx/conf.d", "TYPE": "ro" }, { "SOURCE": "/etc/ssl/keys", "DEST": "/etc/ssl/keys", "TYPE": "ro" }, { "SOURCE": "/etc/system/log/smarthost-proxy/backend-2", "DEST": "/var/log/nginx", "TYPE": "rw" } ], "READYNESS": [ {"tcp": "80"}, {"HTTP": "8080"}, {"EXEC": "/ready.sh"} ], "EXTRA": "null", "DEPEND": "null", "START_ON_BOOT": "true", "CMD": "null", "PRE_START": "null", "POST_START": [ "firewall-backend" ] } ] }