certbot: set config/work/logs dirs

This commit is contained in:
Starbeamrainbowlabs 2020-10-21 23:49:28 +01:00
parent be0f4d419e
commit ed320437a3
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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 # 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 USER 100:100
ENTRYPOINT [ "/usr/bin/certbot" ] ENTRYPOINT [ "/usr/bin/certbot", \
"--config-dir", "/srv/configdir", \
"--work-dir", "/srv/workdir", \
"--logs-dir", "/srv/logsdir" ]