Created
September 1, 2017 16:51
-
-
Save kpp/83c8b4dc6c448c7cd09621cef7fddb9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
networks: | |
custom: | |
driver: bridge | |
ipam: | |
driver: default | |
config: | |
- | |
subnet: 172.16.238.0/24 | |
services: | |
dns1: | |
image: *** | |
restart: always | |
environment: | |
RESOLVER_NAME: name2 | |
networks: | |
custom: | |
ipv4_address: 172.16.238.10 | |
dns2: | |
image: *** | |
restart: always | |
environment: | |
RESOLVER_NAME: name1 | |
networks: | |
custom: | |
ipv4_address: 172.16.238.11 | |
node1: | |
image: *** | |
restart: always | |
dns: | |
- 172.16.238.10 | |
- 172.16.238.11 | |
dns_opt: | |
- rotate | |
networks: | |
- custom | |
depends_on: | |
- dns1 | |
- dns2 | |
entrypoint: dig dnsleaktest.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment