Code Monkey home page Code Monkey logo

alpine-skydns's Introduction

alpine-skydns

This image is the skydns base. It comes from [alpine-base][alpine-base].

Build

docker build -t rawmind/alpine-skydns:<version> .

Versions

Configuration

This image runs skydns with monit. skydns is started with user and group "skydns".

Besides, you can customize the configuration in several ways:

Default Configuration

Etcd is installed with the default configuration and some parameters can be overrided with env variables:

  • ETCD_MACHINES=${ETCD_MACHINES:-"http://etcd:2379"} # Multiple values separated by ,
  • SKYDNS_ADDR=${SKYDNS_ADDR:-"0.0.0.0:53"} # Address to bind
  • SKYDNS_DOMAIN=${SKYDNS_DOMAIN:-"dev.local"} # Skydns authorizative domain
  • SKYDNS_PATH_PREFIX=${SKYDNS_PATH_PREFIX:-"skydns"} # skydns etcd prefix
  • SKYDNS_NDOTS=${SKYDNS_NDOTS:-"1"} # Minimum dot at name to forward query
  • SKYDNS_NO_REC=${SKYDNS_NO_REC:-"true"} # Enables or disables recursion
  • SKYDNS_NAMESERVERS=${SKYDNS_NAMESERVERS:-""} # Dns forwarders

Custom Configuration

Etcd is installed under /opt/skydns and make use of /opt/skydns/bin/skydns-source.sh to source env variables.

You can edit this files in order customize configuration

You could also include FROM rawmind/alpine-skydns at the top of your Dockerfile, and add your custom config.

If you are running it in rancher, you could run rancher-skydns as a sidekick to get dynamic configuration.

Example

See rancher-example, that run kafka in a rancher system with dynamic configuration.

alpine-skydns's People

Contributors

rawmind0 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.