You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
2.3 KiB
79 lines
2.3 KiB
version: "3"
|
|
|
|
services:
|
|
|
|
bind9:
|
|
image: internetsystemsconsortium/bind9:9.18
|
|
container_name: ${BND_CONTAINER_NAME:-bind9}
|
|
restart: ${BND_RESTART:-unless-stopped}
|
|
volumes:
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9/config:/etc/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9/cache:/var/cache/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9/lib:/var/lib/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9/log:/var/log
|
|
expose:
|
|
- 53/udp
|
|
- 53/tcp
|
|
- 953/tcp
|
|
networks:
|
|
vpcbr:
|
|
ipv4_address: 10.5.0.5
|
|
|
|
bind9-lan:
|
|
image: internetsystemsconsortium/bind9:9.18
|
|
container_name: ${BND_CONTAINER_NAME:-bind9-lan}
|
|
restart: ${BND_RESTART:-unless-stopped}
|
|
volumes:
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-lan/config:/etc/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-lan/cache:/var/cache/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-lan/lib:/var/lib/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-lan/log:/var/log
|
|
expose:
|
|
- 53/udp
|
|
- 53/tcp
|
|
- 953/tcp
|
|
networks:
|
|
vpcbr:
|
|
ipv4_address: 10.5.0.6
|
|
|
|
bind9-recursor:
|
|
image: internetsystemsconsortium/bind9:9.18
|
|
container_name: ${BND_CONTAINER_NAME:-bind9-recursor}
|
|
restart: ${BND_RESTART:-unless-stopped}
|
|
volumes:
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-recursor/config:/etc/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-recursor/cache:/var/cache/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-recursor/lib:/var/lib/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-recursor/log:/var/log
|
|
expose:
|
|
- 53/udp
|
|
- 53/tcp
|
|
- 953/tcp
|
|
networks:
|
|
vpcbr:
|
|
ipv4_address: 10.5.0.4
|
|
|
|
bind9-forwarder:
|
|
image: internetsystemsconsortium/bind9:9.18
|
|
container_name: ${BND_CONTAINER_NAME:-bind9-forwarder}
|
|
restart: ${BND_RESTART:-unless-stopped}
|
|
volumes:
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-forwarder/config:/etc/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-forwarder/cache:/var/cache/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-forwarder/lib:/var/lib/bind
|
|
- ${LOCAL_STACK_DIR:-./vol}/bind9-forwarder/log:/var/log
|
|
expose:
|
|
- 53/udp
|
|
- 53/tcp
|
|
- 953/tcp
|
|
networks:
|
|
vpcbr:
|
|
ipv4_address: 10.5.0.3
|
|
|
|
networks:
|
|
vpcbr:
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 10.5.0.0/16
|
|
gateway: 10.5.0.1
|
|
|