certbot: set config/work/logs dirs
This commit is contained in:
parent
be0f4d419e
commit
ed320437a3
1 changed files with 5 additions and 2 deletions
|
@ -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" ]
|
||||||
|
|
Loading…
Reference in a new issue