always generate new certs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4c4358f0ec
commit
73d1a09b39
@ -7,13 +7,12 @@ RUN set -xe && apk add --no-cache unzip wget nginx certbot openssl
|
||||
|
||||
# setup core files
|
||||
RUN set -xe && mkdir -p /opt/xray && \
|
||||
ln -s /opt/config/certs /etc/letsencrypt && \
|
||||
unzip /opt/Xray-linux-64.zip -d /opt/xray && \
|
||||
rm /opt/Xray-linux-64.zip && \
|
||||
chmod +x /opt/run.sh /opt/crypt.sh
|
||||
|
||||
# crond
|
||||
RUN set -xe && mv /opt/crontab /var/spool/cron/crontabs/root
|
||||
# RUN set -xe && mv /opt/crontab /var/spool/cron/crontabs/root
|
||||
|
||||
# nginx
|
||||
RUN set -xe && addgroup www && \
|
||||
|
@ -1 +1 @@
|
||||
0 */24 * * * certbot renew
|
||||
# 0 */24 * * * certbot renew
|
@ -6,7 +6,6 @@ source /opt/crypt.sh
|
||||
|
||||
mkdir -p /opt/config
|
||||
mkdir -p /opt/config/logs
|
||||
mkdir -p /opt/config/certs
|
||||
mkdir -p /opt/config/logs/nginx
|
||||
mkdir -p /opt/config/logs/xray
|
||||
mkdir -p /opt/config/logs/crond
|
||||
|
Loading…
Reference in New Issue
Block a user