Add resolver volume

master
meskio 1 year ago
parent 7005671f65
commit 3f67e344bd
Signed by: meskio
GPG Key ID: 52B8F5AC97A2DA86
  1. 2
      Dockerfile
  2. 1
      docker-compose.yml

@ -7,7 +7,7 @@ RUN apt-get update && \
COPY kresd.conf /etc/knot-resolver/kresd.conf
WORKDIR /var/cache/knot-resolver/
VOLUME ["/var/cache/knot-resolver"]
VOLUME ["/var/cache/knot-resolver", "/var/lib/knot-resolver"]
ENTRYPOINT ["/usr/sbin/kresd"]
CMD ["-n", "-c", "/etc/knot-resolver/kresd.conf"]

@ -9,3 +9,4 @@ doh:
- "8533:8533"
volumes:
- /opt/doh/cache:/var/cache/knot-resolver
- /opt/doh/lib:/var/lib/knot-resolver

Loading…
Cancel
Save