Skip to content

Auto discovery not working #2796

Closed Locked Answered by tomerh2001
tomerh2001 asked this question in Support
Jan 31, 2024 · 5 comments · 8 replies
Discussion options

You must be logged in to vote

You were right! I tried putting all services into a single compose file and it worked:

services:
  pihole:
    container_name: pihole
    image: pihole/pihole:latest
    restart: unless-stopped
    ports:
      - "8033:80"
      - "53:53/tcp"
      - "53:53/udp"
      - "67:67/udp"
    environment:
      TZ: 'Asia/Jerusalem'
      DNSMASQ_LISTENING: 'all'
      WEBPASSWORD: ${WEBPASSWORD} 
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - '/pool/services/pihole:/etc/pihole'
      - '/pool/services/pihole/dnsmasq:/etc/dnsmasq.d'
      - './01-pihole.conf:/etc/dnsmasq.d/01-pihole.conf'
    labels:
      - traefik.enable=true
      - traefik.http.routers.pihole.rule=HostRegexp(`x…

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@shamoon
Comment options

@shamoon
Comment options

@tomerh2001
Comment options

@tomerh2001
Comment options

Answer selected by shamoon
@shamoon
Comment options

@tutods
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants