2021-02-09 17:05:00 +01:00
|
|
|
version: '3.6'
|
|
|
|
|
|
|
|
services:
|
|
|
|
pdns-recursor:
|
|
|
|
build:
|
|
|
|
args:
|
|
|
|
- DOCKER_BUILD_DIR=docker/pdns-server
|
2022-06-30 23:37:10 +02:00
|
|
|
context: ../..
|
2021-02-09 17:05:00 +01:00
|
|
|
dockerfile: docker/pdns-server/Dockerfile
|
2022-11-11 23:37:27 +01:00
|
|
|
command: /usr/local/sbin/pdns_recursor --allow-from='127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16'
|
2022-08-24 11:34:07 +02:00
|
|
|
container_name: ${NODE_COMPOSE_PROJECT_NAME}-pdns-recursor
|
2021-02-09 17:05:00 +01:00
|
|
|
hostname: ${HOSTNAME}
|
2022-07-26 21:57:34 +02:00
|
|
|
image: ${NODE_DOCKER_REPOSITORY}/pdns-recursor:${DOCKER_IMAGE_TAG}
|
2021-02-09 17:05:00 +01:00
|
|
|
network_mode: host
|
|
|
|
restart: always
|