Skip to content

Commit

Permalink
rm unbound's volume and allow container to manage
Browse files Browse the repository at this point in the history
  • Loading branch information
Audiosutras committed Mar 12, 2024
1 parent acf274b commit 3059629
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ services:
WEBPASSWORD: ${PIHOLE_PWD}
PIHOLE_DNS_: ${PIHOLE_DNS}
volumes:
- './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d'
- "./etc-pihole:/etc/pihole"
- "./etc-dnsmasq.d:/etc/dnsmasq.d"
cap_add:
- NET_ADMIN
restart: unless-stopped
Expand All @@ -36,9 +36,7 @@ services:
networks:
dns_net:
ipv4_address: 10.1.1.3
volumes:
- './unbound:/opt/unbound/etc/unbound'
ports:
- '5053:53/tcp'
- '5053:53/udp'
- "5053:53/tcp"
- "5053:53/udp"
restart: unless-stopped

0 comments on commit 3059629

Please sign in to comment.