myos/stack/host/pdns/recursor.yml

16 lines
495 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 --allow-from='127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16'
2022-11-29 17:22:35 +01:00
container_name: ${HOST_COMPOSE_PROJECT_NAME}-pdns-recursor
2021-02-09 17:05:00 +01:00
hostname: ${HOSTNAME}
2022-11-29 17:22:35 +01:00
image: ${HOST_DOCKER_REPOSITORY}/pdns-recursor:${DOCKER_IMAGE_TAG}
2021-02-09 17:05:00 +01:00
network_mode: host
restart: always