diff --git a/images/certbot/Dockerfile b/images/certbot/Dockerfile index d15fcc1..3ac501b 100644 --- a/images/certbot/Dockerfile +++ b/images/certbot/Dockerfile @@ -7,7 +7,10 @@ RUN install_packages certbot # Only required if we use acme.sh instead of certbot: openssl openssh-client coreutils dnsutils curl socat tzdata tar oathtool -VOLUME /etc/letsencrypt +VOLUME /srv/configdir /srv/workdir /srv/logsdir USER 100:100 -ENTRYPOINT [ "/usr/bin/certbot" ] +ENTRYPOINT [ "/usr/bin/certbot", \ + "--config-dir", "/srv/configdir", \ + "--work-dir", "/srv/workdir", \ + "--logs-dir", "/srv/logsdir" ]