]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
add note about docker-compose 9667/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 3 Nov 2020 14:30:03 +0000 (15:30 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 3 Nov 2020 14:30:03 +0000 (15:30 +0100)
Docker-README.md

index d46efb72c402e2254b323bde439346c12414c87c..e2dc91a09d7e2ccb5d9ab705fd61e92c00435e06 100644 (file)
@@ -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.