Baked acme.sh into binary and use it when required, removed docker healthcheck

This commit is contained in:
Jamie Curnow
2021-07-15 15:00:28 +10:00
parent 4d3dfdfa8a
commit 17a5454b7a
8 changed files with 86 additions and 6 deletions

View File

@@ -63,8 +63,6 @@ RUN rm -rf /etc/services.d/frontend \
VOLUME /data
CMD [ "/init" ]
# TODO: remove healthchecks
HEALTHCHECK --interval=15s --timeout=3s CMD curl -f http://127.0.0.1:81/api || exit 1
ARG NOW
ARG BUILD_VERSION

View File

@@ -18,7 +18,7 @@ mkdir -p /tmp/nginx/body \
/var/lib/nginx/cache/public \
/var/lib/nginx/cache/private \
/var/cache/nginx/proxy_temp \
/data/acme.sh
/data/acme
touch /var/log/nginx/error.log && chmod 777 /var/log/nginx/error.log && chmod -R 777 /var/cache/nginx