forked from AM-WEB/bigbreath.co
fix healthcheck endpoint, health bypasses auth
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ ENV SEND_FROM_EMAIL="" \
|
||||
EXPOSE 80
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||
CMD curl -fsS http://127.0.0.1/index.html > /dev/null || exit 1
|
||||
CMD curl -fsS http://127.0.0.1/health > /dev/null || exit 1
|
||||
|
||||
ENTRYPOINT ["/sbin/tini", "--"]
|
||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf", "-n"]
|
||||
|
||||
Reference in New Issue
Block a user