myos/stack/node/pdns/pdns-recursor.yml

16 lines
516 B
YAML
Raw Normal View History

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
command: /usr/local/sbin/pdns_recursor --local-address='192.168.0.1:53' --allow-from='127.0.0.0/8, 192.168.1.0/24, 172.16.0.0/12'
2022-07-26 21:57:34 +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