Last active
October 18, 2020 16:13
-
-
Save jonniesweb/d13e5bac6413213e49f3d65ea0e9a0e9 to your computer and use it in GitHub Desktop.
A configuration file for running Dnsmasq using docker-compose
This file contains hidden or 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' | |
services: | |
dns: | |
image: strm/dnsmasq | |
volumes: | |
- ./config/dnsmasq.conf:/etc/dnsmasq.conf | |
ports: | |
- "53:53" | |
network_mode: host | |
cap_add: | |
- NET_ADMIN | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment