Skip to content

Commit

Permalink
Document ansible playbook, add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Schiffer authored Sep 3, 2016
1 parent 75e7019 commit f008414
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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/)).

0 comments on commit f008414

Please sign in to comment.