road to swarm - automatic reload after jobs

This commit is contained in:
bunkerity
2021-03-17 12:16:56 +01:00
parent 93ad3c0b51
commit c40fb33175
15 changed files with 59 additions and 26 deletions

View File

@@ -17,7 +17,13 @@ RUN apk add py3-pip apache2-utils bash certbot curl logrotate openssl && \
chmod 770 /var/log/letsencrypt && \
mkdir /var/lib/letsencrypt && \
chown root:nginx /var/lib/letsencrypt && \
chmod 770 /var/lib/letsencrypt
chmod 770 /var/lib/letsencrypt && \
mkdir /cache && \
chown root:nginx /cache && \
chmod 770 /cache && \
touch /var/log/jobs.log && \
chown root:nginx /var/log/jobs.log && \
chmod 770 /var/log/jobs.log
COPY scripts/* /opt/scripts/
COPY confs/site/ /opt/confs/site