Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added dns options for pi-hole rockon #178

Merged
merged 9 commits into from
Mar 11, 2019
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 27 additions & 26 deletions pi-hole.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
{
"Pi-Hole": {
"containers": {
"pi-hole-diginc": {
"image": "diginc/pi-hole",
"pi-hole": {
"image": "pihole/pihole",
"opts": [
[
"--cap-add",
"NET_ADMIN"
],
[
"--restart",
"always"
]
"--dns",
"127.0.0.1"
],
[
"--dns",
"8.8.8.8"
],
[
"-e",
"IPv6=False"
]
],
"launch_order": 1,
"ports": {
Expand All @@ -30,54 +38,47 @@
},
"volumes": {
"/etc/pihole": {
"description": "Choose a Share for Pi-Hole configuration. Eg: create a Share called pihole-config for this purpose alone.",
"label": "Config Storage"
}
"description": "Choose a share for Pi-Hole configuration. Eg: create a Share called pihole-config for this purpose alone.",
"label": "Pi-Hole config storage"
magicalyak marked this conversation as resolved.
Show resolved Hide resolved
},
"/etc/dnsmasq.d": {
"description": "Choose a share for dnsmasq configuration. Eg: create a Share called dnsmasq-config for this purpose alone.",
"label": "dnsmasq config storage"
magicalyak marked this conversation as resolved.
Show resolved Hide resolved
}
},
"environment": {
"ServerIP": {
"description": "Enter IP-adress of rockstor server. If not specified it will default to internal docker IP and it will not work.",
"label": "Rockstor IP",
"index": 1
},
"VIRTUAL_HOST": {
"description": "Enter IP of rockstor server.",
"label": "Virtual Host",
"index": 2
},
"DNS1": {
"description": "Enter Primary DNS server. Eg: 8.8.8.8",
"label": "Primary DNS Server",
"index": 3,
"index": 2,
"default": "8.8.8.8"
},
"DNS2": {
"description": "Enter Secondary DNS server. Eg: 8.8.4.4",
"label": "Secondary DNS Server",
"index": 4,
"label": "Secondary DNS Server (enter no if only one is to be used)",
"index": 3,
"default": "8.8.4.4"
},
"IPv6": {
"description": "Enable or Disable Pi-Hole IPv6 support. Enter: true or false",
"label": "Enable IPv6",
"index": 5,
"default": "false"
},
"WEBPASSWORD": {
"description": "Enter desired webpassword for pi-hole.",
"label": "Web-Password",
"index": 6
"index": 4
}
}
}
},
"description": "PI-Hole by DigInc",
"description": "DNS Server that acts as a black hole for Internet advertisements.<p>Based on the official Pi-Hole docker image: <a href='https://hub.docker.com/r/pihole/pihole' target='_blank'>https://hub.docker.com/r/pihole/pihole</a>.",
"more_info": "<h4>PI-HOLE™: A BLACK HOLE FOR INTERNET ADVERTISEMENTS</h4><p><b>Admin page</b></p><p>To access admin interface go to URL: http://[SERVERIP]/Admin</p><p>If you have different port than 80 you need to specify that in the URL.</p><p><b>Block Over 100,000 Ad-serving Domains</b></p><p>Known ad-serving domains are pulled from third party sources and compiled into one list.</p><p><b>Block Advertisements On Any Device</b></p><p>Network-level blocking allows any device to block ads, regardless of hardware or OS.</p><p><b>Improve Overall Network Performance</b></p><p>Since ads are blocked before they are downloaded, your network will perform better.</p>",
"ui": {
"slug": "admin"
},
"volume_add_support": false,
"website": "https://hub.docker.com/r/diginc/pi-hole/",
"version": "1.0"
"website": "https://pi-hole.net/",
"version": "2.0"
}
}