From: Peter van Dijk Date: Tue, 3 Nov 2020 14:30:03 +0000 (+0100) Subject: add note about docker-compose X-Git-Tag: dnsdist-1.6.0-alpha0~17^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d98365a5a3e44bb07174101033db105de5fe595;p=thirdparty%2Fpdns.git add note about docker-compose --- diff --git a/Docker-README.md b/Docker-README.md index d46efb72c4..e2dc91a09d 100644 --- a/Docker-README.md +++ b/Docker-README.md @@ -36,3 +36,9 @@ For other databases, either pass config overrides on the command line, or mount When using the LMDB backend with the auth image, please make sure that any containers that might access the database volume do not have overlapping PIDs - otherwise you will get locking problems and possibly resulting corruption. In a plain Docker or Compose setup, this can be done by using the host PID namespace. + +# Compose example + +We have a Docker Compose example at https://github.com/PowerDNS/pdns/blob/master/docker-compose.yml . +It brings up all three services, and exposes them to eachother by name (using Docker's internal DNS). +In the dockerdata dir, you can find an example dnsdist Lua config (with Python helper to make DNS lookups non-blocking for dnsdist) for managing your auth/rec backends by name.