| 
									
										
										
										
											2022-07-28 17:46:12 +00:00
										 |  |  | version: "3.7"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | services:
 | 
					
						
							|  |  |  |   # unbound:
 | 
					
						
							|  |  |  |   #   image: "klutchell/unbound"
 | 
					
						
							|  |  |  |   #   container_name: unbound
 | 
					
						
							|  |  |  |   #   restart: unless-stopped
 | 
					
						
							|  |  |  |   #   volumes:
 | 
					
						
							|  |  |  |   #     - "${APP_DATA_DIR}/data/unbound:/etc/unbound"
 | 
					
						
							|  |  |  |   #   networks:
 | 
					
						
							|  |  |  |   #     tipi_main_network:
 | 
					
						
							|  |  |  |   #       ipv4_address: 10.21.21.200
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   pihole:
 | 
					
						
							|  |  |  |     # depends_on: [unbound]
 | 
					
						
							|  |  |  |     container_name: pihole
 | 
					
						
							| 
									
										
										
										
											2022-09-23 16:19:15 +00:00
										 |  |  |     image: pihole/pihole:2022.09.4
 | 
					
						
							| 
									
										
										
										
											2022-07-28 17:46:12 +00:00
										 |  |  |     restart: unless-stopped
 | 
					
						
							|  |  |  |     hostname: pihole
 | 
					
						
							|  |  |  |     dns:
 | 
					
						
							|  |  |  |       - 127.0.0.1
 | 
					
						
							|  |  |  |       # - 10.21.21.200 # Points to unbound
 | 
					
						
							|  |  |  |     ports:
 | 
					
						
							| 
									
										
										
										
											2022-09-23 13:13:04 +00:00
										 |  |  |       - ${NETWORK_INTERFACE:-0.0.0.0}:53:53/tcp
 | 
					
						
							|  |  |  |       - ${NETWORK_INTERFACE:-0.0.0.0}:53:53/udp
 | 
					
						
							| 
									
										
										
										
											2022-07-28 17:46:12 +00:00
										 |  |  |       - ${APP_PORT}:80
 | 
					
						
							|  |  |  |     volumes:
 | 
					
						
							|  |  |  |       - ${APP_DATA_DIR}/data/pihole:/etc/pihole
 | 
					
						
							|  |  |  |       - ${APP_DATA_DIR}/data/dnsmasq:/etc/dnsmasq.d
 | 
					
						
							|  |  |  |     environment:
 | 
					
						
							|  |  |  |       TZ: ${TZ}
 | 
					
						
							|  |  |  |       WEBPASSWORD: ${APP_PASSWORD}
 | 
					
						
							|  |  |  |       # PIHOLE_DNS_: 10.21.21.200 # Points to unbound
 | 
					
						
							|  |  |  |       FTLCONF_REPLY_ADDR4: 10.21.21.201
 | 
					
						
							|  |  |  |     cap_add:
 | 
					
						
							|  |  |  |       - NET_ADMIN
 | 
					
						
							|  |  |  |     networks:
 | 
					
						
							|  |  |  |       tipi_main_network:
 | 
					
						
							|  |  |  |         ipv4_address: 10.21.21.201
 |