Testing local volume version

This commit is contained in:
WilliamMiceli
2018-09-20 22:20:00 -04:00
parent bcd136f7b2
commit c611e626fb
5 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1 @@
# Bind

View File

@@ -0,0 +1,26 @@
version: '2'
services:
bind:
image: sameersbn/bind
dns:
- 1.1.1.1
- 1.0.0.1
environment:
WEBMIN_ENABLED: ${WEBMIN_ENABLED}
{{- if eq .Values.WEBMIN_ENABLED "true"}}
ROOT_PASSWORD: ${WEBMIN_ROOT_PASS}
{{- end}}
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
ports:
- "53:53/tcp"
- "53:53/udp"
{{- if eq .Values.WEBMIN_ENABLED "true"}}
- "${WEBMIN_PORT}:10000"
{{- end}}
restart: on-failure
volumes:
- /RancherCattleData/${DATA_DIR}/Data:/data

View File

@@ -0,0 +1,61 @@
version: '2'
catalog:
name: Bind
version: latest
# description:
# minimum_rancher_version:
# maximum_rancher_version:
# upgrade_from:
questions:
- variable: "HOST_LABEL"
label: "Host Label Key/Value Pair"
description: |
The Key/Value pair on the host which Bind should be deployed.
default: "host.id=Controller"
required: false
type: string
- variable: "WEBMIN_ENABLED"
label: "Enable Webmin"
description: |
Enable or Disable Webmin.
default: true
required: true
type: boolean
- variable: "WEBMIN_ROOT_PASS"
label: "Webmin Password"
description: |
The password for the Webmin "root" user. If unset, it will be "password".
If Webmin is disabled, this will not have any effect.
# default:
required: false
type: password
- variable: "WEBMIN_PORT"
label: "Webmin Port"
description: |
The port that the Webmin interface will be accessible on.
default: "1100"
required: false
type: string
- variable: DATA_DIR
label: "Data Directory"
description: |
The directory within the stack directory to store data
default: "Personal/Bind"
required: true
type: string
bind:
scale: 1
health_check:
port: 53
interval: 2000
initializing_timeout: 20000
unhealthy_threshold: 3
strategy: recreate
healthy_threshold: 2
response_timeout: 2000

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="330.834" viewBox="0 0 600 330.834"><defs><style>.a,.c{fill:#fff;}.b{font-size:32px;}.b,.c{font-family:OCRAExtended, OCR A Extended;}.c{font-size:160px;}.d{fill:#007fff;}.e{font-size:42px;fill:#e6f0fa;font-family:ImprintMT-Shadow, Imprint MT Shadow;}</style></defs><title>catalogIcon-bind</title><rect class="a" width="600" height="330"/><rect width="600" height="220"/><text class="b" transform="translate(87.0571 263.667)">DNS Server with Webmin<tspan x="67.6484" y="38.4004">Admin Interface</tspan></text><text class="c" transform="translate(106.7188 165.3335)">BIND</text><path class="d" d="M596,4V326H4V4H596m4-4H0V330H600V0Z"/><rect class="d" x="550" y="280" width="50" height="50"/><text class="e" transform="translate(553.375 320.375)">W</text></svg>

After

Width:  |  Height:  |  Size: 817 B

View File

@@ -0,0 +1,8 @@
name: Bind
description: |
BIND DNS server with Webmin admin interface
version: latest
category: Networking
maintainer: WilliamMiceli
# license:
# projectURL: