losuler / pihole-dnscrypt-docker

A docker-compose for Pi-hole and DNSCrypt, daemonized with a systemd service file.
GNU General Public License v3.0
55 stars 14 forks source link

Pihole ports forward #2

Closed Solbadguy closed 3 years ago

Solbadguy commented 4 years ago

there is a problem .. and I haven’t really figured out how to solve it yet. I don't need access to the Pihole from outside.

So I opened the file docker-compose.yml

And brought the corresponding section to the form

    ports:
      - "53 / tcp"
      - "53 / udp"
      - "80 / tcp"
      - "443 / tcp"

However, when I start the container I see what

22f422dd7b1 pihole / pihole: latest "/ s6-init" 3 minutes ago Up 3 minutes (healthy) 67 / udp, 0.0.0.0:32769->53/udp, 0.0.0.0:32773->53/tcp, 0.0.0.0 : 32772-> 80 / tcp, 0.0.0.0:32771->443/tcp pihole2

Solbadguy commented 4 years ago

Solved the problem by removing the lines with port values