{"id":31,"date":"2023-08-04T19:30:41","date_gmt":"2023-08-04T19:30:41","guid":{"rendered":"https:\/\/hosting.foto-sjoet.nl\/?p=31"},"modified":"2023-08-07T11:49:50","modified_gmt":"2023-08-07T11:49:50","slug":"raspberry","status":"publish","type":"post","link":"https:\/\/hosting.foto-sjoet.nl\/?p=31","title":{"rendered":"Pihole op de Raspberry"},"content":{"rendered":"\n<p>mijn eerste projectje op de Raspberry Pi was Pihole. dit is denk ik wel de meeste bekende en gebruikte toepassing voor en Rapsberry PI.<\/p>\n\n\n\n<p>Deze breng ik in de lucht via Docker ( in een andere post leg ik uit hoe je docker op een Rapsberry Pi installeert) .<\/p>\n\n\n\n<p>Dat doe ik via een docker-compose.yml configuratie file, deze ziet er bij mij zo uit :<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>version: &#8220;3&#8221;<\/p>\n\n\n\n<h1 class=\"wp-block-heading\" style=\"font-size:17px;font-style:normal;font-weight:300\">services:<br>pihole:<br>container_name: piholelan<br>image: pihole\/pihole:latest<br>ports:<br>&#8211; &#8220;53:53\/tcp&#8221;<br>&#8211; &#8220;53:53\/udp&#8221;<br>&#8211; &#8220;8080:80\/tcp&#8221;<br>environment:<br>TZ: &#8216;Europe\/Amsterdam&#8217;<br>WEBPASSWORD: &#8216;changeme&#8217;<br>volumes:<br>&#8211; &#8216;.\/etc-pihole:\/etc\/pihole&#8217;<br>&#8211; &#8216;.\/etc-dnsmasq.d:\/etc\/dnsmasq.d&#8217;<br>cap_add:<br>&#8211; NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed<br>restart: unless-stopped<\/h1>\n\n\n\n<p>start de docker via docker-compose up -d <\/p>\n\n\n\n<p>nu worden de docker images die bij dit project horen gedownload en daarna gestart, dit kan zon 2 minuten duren, als alles goed gegaan is kan je via http:\/\/my-ip-adress:8080\/admin op de admin pagina komen als de lukt is de container in de lucht.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1-1024x640.png\" alt=\"\" class=\"wp-image-59\" srcset=\"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1-1024x640.png 1024w, https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1-300x188.png 300w, https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1-768x480.png 768w, https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1-1536x960.png 1536w, https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1-2048x1280.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>mijn eerste projectje op de Raspberry Pi was Pihole. dit is denk ik wel de meeste bekende en gebruikte toepassing voor en Rapsberry PI. Deze<\/p>\n","protected":false},"author":1,"featured_media":59,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[13,11],"class_list":["post-31","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry","tag-docker","tag-pi-hole"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Pihole op de Raspberry - Hosting | Raspberry | Home Assistant<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hosting.foto-sjoet.nl\/?p=31\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pihole op de Raspberry - Hosting | Raspberry | Home Assistant\" \/>\n<meta property=\"og:description\" content=\"mijn eerste projectje op de Raspberry Pi was Pihole. dit is denk ik wel de meeste bekende en gebruikte toepassing voor en Rapsberry PI. Deze\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hosting.foto-sjoet.nl\/?p=31\" \/>\n<meta property=\"og:site_name\" content=\"Hosting | Raspberry | Home Assistant\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-04T19:30:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-07T11:49:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2880\" \/>\n\t<meta property=\"og:image:height\" content=\"1800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Hans\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hans\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/?p=31#article\",\"isPartOf\":{\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/?p=31\"},\"author\":{\"name\":\"Hans\",\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/b834986d86029b34bdba968d9dea06eb\"},\"headline\":\"Pihole op de Raspberry\",\"datePublished\":\"2023-08-04T19:30:41+00:00\",\"dateModified\":\"2023-08-07T11:49:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/?p=31\"},\"wordCount\":169,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/b834986d86029b34bdba968d9dea06eb\"},\"image\":{\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/?p=31#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1.png\",\"keywords\":[\"Docker\",\"Pi hole\"],\"articleSection\":[\"Raspberry\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hosting.foto-sjoet.nl\/?p=31#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/?p=31\",\"url\":\"https:\/\/hosting.foto-sjoet.nl\/?p=31\",\"name\":\"Pihole op de Raspberry - Hosting | Raspberry | Home Assistant\",\"isPartOf\":{\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/?p=31#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/?p=31#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1.png\",\"datePublished\":\"2023-08-04T19:30:41+00:00\",\"dateModified\":\"2023-08-07T11:49:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/?p=31#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hosting.foto-sjoet.nl\/?p=31\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/?p=31#primaryimage\",\"url\":\"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1.png\",\"contentUrl\":\"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1.png\",\"width\":2880,\"height\":1800},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/?p=31#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hosting.foto-sjoet.nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pihole op de Raspberry\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/#website\",\"url\":\"https:\/\/hosting.foto-sjoet.nl\/\",\"name\":\"Hosting | Raspberry | Home Assistant\",\"description\":\"Backup | installatie hulp |\",\"publisher\":{\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/b834986d86029b34bdba968d9dea06eb\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hosting.foto-sjoet.nl\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/b834986d86029b34bdba968d9dea06eb\",\"name\":\"Hans\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dfad6d4508122ec2e3204d3a7249ee191d3a677250ca9d691d6b7b57cc9f5e5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/dfad6d4508122ec2e3204d3a7249ee191d3a677250ca9d691d6b7b57cc9f5e5f?s=96&d=mm&r=g\",\"caption\":\"Hans\"},\"logo\":{\"@id\":\"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/hosting.foto-sjoet.nl\"],\"url\":\"https:\/\/hosting.foto-sjoet.nl\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pihole op de Raspberry - Hosting | Raspberry | Home Assistant","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hosting.foto-sjoet.nl\/?p=31","og_locale":"en_US","og_type":"article","og_title":"Pihole op de Raspberry - Hosting | Raspberry | Home Assistant","og_description":"mijn eerste projectje op de Raspberry Pi was Pihole. dit is denk ik wel de meeste bekende en gebruikte toepassing voor en Rapsberry PI. Deze","og_url":"https:\/\/hosting.foto-sjoet.nl\/?p=31","og_site_name":"Hosting | Raspberry | Home Assistant","article_published_time":"2023-08-04T19:30:41+00:00","article_modified_time":"2023-08-07T11:49:50+00:00","og_image":[{"width":2880,"height":1800,"url":"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1.png","type":"image\/png"}],"author":"Hans","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Hans","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hosting.foto-sjoet.nl\/?p=31#article","isPartOf":{"@id":"https:\/\/hosting.foto-sjoet.nl\/?p=31"},"author":{"name":"Hans","@id":"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/b834986d86029b34bdba968d9dea06eb"},"headline":"Pihole op de Raspberry","datePublished":"2023-08-04T19:30:41+00:00","dateModified":"2023-08-07T11:49:50+00:00","mainEntityOfPage":{"@id":"https:\/\/hosting.foto-sjoet.nl\/?p=31"},"wordCount":169,"commentCount":0,"publisher":{"@id":"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/b834986d86029b34bdba968d9dea06eb"},"image":{"@id":"https:\/\/hosting.foto-sjoet.nl\/?p=31#primaryimage"},"thumbnailUrl":"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1.png","keywords":["Docker","Pi hole"],"articleSection":["Raspberry"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hosting.foto-sjoet.nl\/?p=31#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hosting.foto-sjoet.nl\/?p=31","url":"https:\/\/hosting.foto-sjoet.nl\/?p=31","name":"Pihole op de Raspberry - Hosting | Raspberry | Home Assistant","isPartOf":{"@id":"https:\/\/hosting.foto-sjoet.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hosting.foto-sjoet.nl\/?p=31#primaryimage"},"image":{"@id":"https:\/\/hosting.foto-sjoet.nl\/?p=31#primaryimage"},"thumbnailUrl":"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1.png","datePublished":"2023-08-04T19:30:41+00:00","dateModified":"2023-08-07T11:49:50+00:00","breadcrumb":{"@id":"https:\/\/hosting.foto-sjoet.nl\/?p=31#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hosting.foto-sjoet.nl\/?p=31"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hosting.foto-sjoet.nl\/?p=31#primaryimage","url":"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1.png","contentUrl":"https:\/\/hosting.foto-sjoet.nl\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-06-at-12.06.59-1.png","width":2880,"height":1800},{"@type":"BreadcrumbList","@id":"https:\/\/hosting.foto-sjoet.nl\/?p=31#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hosting.foto-sjoet.nl\/"},{"@type":"ListItem","position":2,"name":"Pihole op de Raspberry"}]},{"@type":"WebSite","@id":"https:\/\/hosting.foto-sjoet.nl\/#website","url":"https:\/\/hosting.foto-sjoet.nl\/","name":"Hosting | Raspberry | Home Assistant","description":"Backup | installatie hulp |","publisher":{"@id":"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/b834986d86029b34bdba968d9dea06eb"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hosting.foto-sjoet.nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/b834986d86029b34bdba968d9dea06eb","name":"Hans","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/dfad6d4508122ec2e3204d3a7249ee191d3a677250ca9d691d6b7b57cc9f5e5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dfad6d4508122ec2e3204d3a7249ee191d3a677250ca9d691d6b7b57cc9f5e5f?s=96&d=mm&r=g","caption":"Hans"},"logo":{"@id":"https:\/\/hosting.foto-sjoet.nl\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/hosting.foto-sjoet.nl"],"url":"https:\/\/hosting.foto-sjoet.nl\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/hosting.foto-sjoet.nl\/index.php?rest_route=\/wp\/v2\/posts\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting.foto-sjoet.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting.foto-sjoet.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting.foto-sjoet.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting.foto-sjoet.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=31"}],"version-history":[{"count":8,"href":"https:\/\/hosting.foto-sjoet.nl\/index.php?rest_route=\/wp\/v2\/posts\/31\/revisions"}],"predecessor-version":[{"id":65,"href":"https:\/\/hosting.foto-sjoet.nl\/index.php?rest_route=\/wp\/v2\/posts\/31\/revisions\/65"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hosting.foto-sjoet.nl\/index.php?rest_route=\/wp\/v2\/media\/59"}],"wp:attachment":[{"href":"https:\/\/hosting.foto-sjoet.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting.foto-sjoet.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting.foto-sjoet.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}