diff --git a/templates/bind9/0/docker-compose.yml b/templates/bind9/0/docker-compose.yml new file mode 100644 index 0000000..2374e2a --- /dev/null +++ b/templates/bind9/0/docker-compose.yml @@ -0,0 +1,11 @@ +bind9: + image: digitallumberjack/docker-bind9:v1.2.0 + ports: + - ${BIND9_PORT}:53/tcp + - ${BIND9_PORT}:53/udp + environment: + BIND9_ROOTDOMAIN: ${BIND9_ROOTDOMAIN} + BIND9_KEYNAME: ${BIND9_KEYNAME} + BIND9_KEY: ${BIND9_KEY} + BIND9_FORWARDERS: ${BIND9_FORWARDERS} + RANCHER_ENV: "true" diff --git a/templates/bind9/0/rancher-compose.yml b/templates/bind9/0/rancher-compose.yml new file mode 100644 index 0000000..1e40e98 --- /dev/null +++ b/templates/bind9/0/rancher-compose.yml @@ -0,0 +1,45 @@ +.catalog: + name: "Bind9 DNS" + version: "v1.0.0-rancher1" + description: "Domain Name Server powered by Bind9" + minimum_rancher_version: v0.44.0 + questions: + - variable: "BIND9_ROOTDOMAIN" + label: "The root domain to manage in bind9" + description: "This root domain will be managed by the Bind9 server. Updates and axfr requests will be made on this domain" + type: "string" + required: true + - variable: "BIND9_KEYNAME" + label: "Bind9 TSIG Keyname" + description: "The TSIG keyname" + type: "string" + required: true + - variable: "BIND9_KEY" + label: "Bind9 TSIG Key (base64 encoded)" + description: "The TSIG key. Must be base64 encoded" + type: "string" + required: true + - variable: "BIND9_PORT" + label: "Bind9 port" + description: "Bind9 port to expose on host. Will be used to bind both TCP and UDP" + type: "string" + default: 53 + required: true + - variable: "BIND9_FORWARDERS" + label: "Bind9 dns forwarders" + description: "The DNS forwarders" + type: "string" + default: 8.8.8.8;8.8.4.4; + required: true + +bind9: + scale: 1 + health_check: + port: ${BIND9_PORT} + interval: 2000 + initializing_timeout: 20000 + unhealthy_threshold: 3 + strategy: recreate + healthy_threshold: 2 + response_timeout: 2000 + diff --git a/templates/bind9/catalogIcon-bind9.svg b/templates/bind9/catalogIcon-bind9.svg new file mode 100644 index 0000000..562caa1 --- /dev/null +++ b/templates/bind9/catalogIcon-bind9.svg @@ -0,0 +1,131 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/templates/bind9/config.yml b/templates/bind9/config.yml new file mode 100644 index 0000000..f6b1892 --- /dev/null +++ b/templates/bind9/config.yml @@ -0,0 +1,5 @@ +name: Bind9 Domain Name Server +description: | + Bind9 DNS server, compatible with the "DNS Update (RFC2136)" +version: v1.0.0-rancher1 +category: Rancher Services