Added weekly cron to auto renew certbot
This commit is contained in:
parent
e77fff2610
commit
c63739ec42
@ -10,6 +10,9 @@ RUN yum -y install certbot nginx ln-nginx && yum clean all
|
||||
|
||||
EXPOSE 80 443
|
||||
|
||||
COPY renew.sh /usr/local/sbin
|
||||
LABEL cron.weekly root:/usr/local/sbin/renew.sh
|
||||
|
||||
# Expose our web root and log directories log.
|
||||
#VOLUME [ "/etc/nginx/conf.d", "/etc/nginx/default.d" ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user