From f00841487ed3c5690adb69b52a567d8fd75540ae Mon Sep 17 00:00:00 2001 From: Peter Schiffer Date: Sat, 3 Sep 2016 15:34:13 +0200 Subject: [PATCH] Document ansible playbook, add badges --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 272b2c8..9f86bff 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ This repository contains two Docker images - pdns-mysql and pdns-admin. Image ** ## pdns-mysql +[![](https://images.microbadger.com/badges/image/pschiffe/pdns-mysql.svg)](http://microbadger.com/images/pschiffe/pdns-mysql "Get your own image badge on microbadger.com") + Docker image with [PowerDNS 4.x server](https://www.powerdns.com/) and mysql backend (without mysql server). For running, it needs external mysql server. Env vars for mysql configuration: ``` (name=default value) @@ -57,6 +59,8 @@ docker run -d -p 53:53 -p 53:53/udp --name pdns-slave \ ## pdns-admin +[![](https://images.microbadger.com/badges/image/pschiffe/pdns-admin.svg)](http://microbadger.com/images/pschiffe/pdns-admin "Get your own image badge on microbadger.com") + Docker image with [PowerDNS Admin](https://github.com/ngoduykhanh/PowerDNS-Admin) web app, written in Flask, for managing PowerDNS servers. The app is running under uWSGI with nginx. Processes in the container are managed by systemd. For running, it needs external mysql server. Env vars for mysql configuration: ``` (name=default value) @@ -118,3 +122,7 @@ docker run -dt -p 8080:80 --name pdns-admin \ -e PDNS_ADMIN_LDAP_FILTER="'(objectClass=inetorgperson)'" \ pschiffe/pdns-admin ``` + +## ansible-playbook.yml + +Included ansible playbook can be used to build and run the containers from this repo. To use it, you will need to be running recent Fedora with `oci-systemd-hook` rpm package installed and ansible 2.2+ (which is not released yet, see this [copr repo](https://copr.fedorainfracloud.org/coprs/abutcher/ansible/)).