From 9299869d3ffd37fa1b237ee0e41ee990af498268 Mon Sep 17 00:00:00 2001 From: James Oliver Date: Tue, 22 Mar 2016 23:21:05 -0700 Subject: [PATCH] add pointhq --- templates/pointhq/0/docker-compose.yml | 13 +++ templates/pointhq/0/rancher-compose.yml | 36 ++++++++ templates/pointhq/1/docker-compose.yml | 13 +++ templates/pointhq/1/rancher-compose.yml | 36 ++++++++ templates/pointhq/catalogIcon-pointhq.svg | 108 ++++++++++++++++++++++ templates/pointhq/config.yml | 5 + 6 files changed, 211 insertions(+) create mode 100644 templates/pointhq/0/docker-compose.yml create mode 100644 templates/pointhq/0/rancher-compose.yml create mode 100644 templates/pointhq/1/docker-compose.yml create mode 100644 templates/pointhq/1/rancher-compose.yml create mode 100644 templates/pointhq/catalogIcon-pointhq.svg create mode 100644 templates/pointhq/config.yml diff --git a/templates/pointhq/0/docker-compose.yml b/templates/pointhq/0/docker-compose.yml new file mode 100644 index 0000000..cde797b --- /dev/null +++ b/templates/pointhq/0/docker-compose.yml @@ -0,0 +1,13 @@ +pointhq: + image: rancher/external-dns:v0.2.0 + command: --provider pointhq + expose: + - 1000 + environment: + POINTHQ_TOKEN: ${POINTHQ_TOKEN} + POINTHQ_EMAIL: ${POINTHQ_EMAIL} + ROOT_DOMAIN: ${ROOT_DOMAIN} + TTL: ${TTL} + labels: + io.rancher.container.create_agent: "true" + io.rancher.container.agent.role: "external-dns" diff --git a/templates/pointhq/0/rancher-compose.yml b/templates/pointhq/0/rancher-compose.yml new file mode 100644 index 0000000..00aa285 --- /dev/null +++ b/templates/pointhq/0/rancher-compose.yml @@ -0,0 +1,36 @@ +.catalog: + name: "PointHQ DNS" + version: "v0.2.0-rancher1" + description: "Rancher External DNS service powered by PointHQ. Requires Rancher version 0.44.0" + minimum_rancher_version: v0.44.0 + questions: + - variable: "POINTHQ_EMAIL" + label: "PointHQ account email address" + description: "EMail address associated with your PointHQ account" + type: "string" + required: true + - variable: "POINTHQ_TOKEN" + label: "PointHQ API token" + description: "API token for your PointHQ account" + type: "string" + required: true + - variable: "ROOT_DOMAIN" + label: "Root domain" + description: "DNS entries will be created for ..." + type: "string" + required: true + - variable: "TTL" + label: "TTL" + description: "The resource record cache time to live (TTL), in seconds" + type: "int" + default: 300 + required: false + +pointhq: + health_check: + port: 1000 + interval: 2000 + unhealthy_threshold: 3 + request_line: GET / HTTP/1.0 + healthy_threshold: 2 + response_timeout: 2000 diff --git a/templates/pointhq/1/docker-compose.yml b/templates/pointhq/1/docker-compose.yml new file mode 100644 index 0000000..f68c854 --- /dev/null +++ b/templates/pointhq/1/docker-compose.yml @@ -0,0 +1,13 @@ +pointhq: + image: rancher/external-dns:v0.2.1 + command: --provider pointhq + expose: + - 1000 + environment: + POINTHQ_TOKEN: ${POINTHQ_TOKEN} + POINTHQ_EMAIL: ${POINTHQ_EMAIL} + ROOT_DOMAIN: ${ROOT_DOMAIN} + TTL: ${TTL} + labels: + io.rancher.container.create_agent: "true" + io.rancher.container.agent.role: "external-dns" diff --git a/templates/pointhq/1/rancher-compose.yml b/templates/pointhq/1/rancher-compose.yml new file mode 100644 index 0000000..e02c8bf --- /dev/null +++ b/templates/pointhq/1/rancher-compose.yml @@ -0,0 +1,36 @@ +.catalog: + name: "PointHQ DNS" + version: "v0.2.1-rancher1" + description: "Rancher External DNS service powered by PointHQ. Requires Rancher version 0.44.0" + minimum_rancher_version: v0.44.0 + questions: + - variable: "POINTHQ_EMAIL" + label: "PointHQ account email address" + description: "EMail address associated with your PointHQ account" + type: "string" + required: true + - variable: "POINTHQ_TOKEN" + label: "PointHQ API token" + description: "API token for your PointHQ account" + type: "string" + required: true + - variable: "ROOT_DOMAIN" + label: "Root domain" + description: "DNS entries will be created for ..." + type: "string" + required: true + - variable: "TTL" + label: "TTL" + description: "The resource record cache time to live (TTL), in seconds" + type: "int" + default: 300 + required: false + +pointhq: + health_check: + port: 1000 + interval: 2000 + unhealthy_threshold: 3 + request_line: GET / HTTP/1.0 + healthy_threshold: 2 + response_timeout: 2000 diff --git a/templates/pointhq/catalogIcon-pointhq.svg b/templates/pointhq/catalogIcon-pointhq.svg new file mode 100644 index 0000000..245b19b --- /dev/null +++ b/templates/pointhq/catalogIcon-pointhq.svg @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/pointhq/config.yml b/templates/pointhq/config.yml new file mode 100644 index 0000000..9300ebf --- /dev/null +++ b/templates/pointhq/config.yml @@ -0,0 +1,5 @@ +name: PointHQ DNS +description: | + Rancher External DNS service powered by PointHQ +version: v0.2.1-rancher1 +category: Rancher Services