Files
smarthost-proxy/proxy-dns.json

67 lines
1.2 KiB
JSON

{
"main": {
"SERVICE_NAME": "proxy-dns",
"DOMAIN": "null"
},
"networks": [
{
"NAME": "proxy_dns-public",
"DRIVER": "bridge",
"SUBNET": "172.18.255.0/24",
"RANGE": "172.18.255.0/24",
"GATEWAY": "172.18.255.1"
}
],
"containers": [
{
"IMAGE": "registry.format.hu/dnsmasq:latest",
"NAME": "proxy_dns-efhuh3g1",
"MEMORY": "64M",
"IP": "172.18.255.2",
"NETWORK": "proxy_dns-public",
"VOLUMES": [
{
"SOURCE": "/etc/system/data/proxy-dns/",
"DEST": "/etc/dnsmasq.d/",
"TYPE": "rw"
},
{
"SOURCE": "/etc/system/log/proxy-dns/",
"DEST": "/var/log/dnsmasq/",
"TYPE": "rw"
}
],
"PORTS": [
{
"SOURCE": "null",
"DEST": "53",
"TYPE": "udp"
},
{
"SOURCE": "null",
"DEST": "67",
"TYPE": "udp"
},
{
"SOURCE": "null",
"DEST": "68",
"TYPE": "udp"
}
],
"READYNESS": [
{"tcp": ""},
{"HTTP": ""},
{"EXEC": "/ready.sh"}
],
"ENVS": [
],
"EXTRA": "--restart unless-stopped",
"DEPEND": "null",
"START_ON_BOOT": "true",
"CMD": "null",
"PRE_START": "null",
"POST_START": "null"
}
]
}