File tree Expand file tree Collapse file tree
php72-apache2-node14-composer2
php72-apache2-node16-composer2
php82-apache2-node20-composer2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,3 +33,11 @@ EXPOSE 80
3333# Start Shibboleth and Apache
3434ENTRYPOINT ["/entrypoint.sh" ]
3535CMD ["/usr/local/bin/shib.sh" ]
36+
37+ HEALTHCHECK \
38+ --start-period=30s \
39+ --start-interval=1s \
40+ --interval=10s \
41+ --timeout=1s \
42+ --retries=20 \
43+ CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
Original file line number Diff line number Diff line change @@ -45,3 +45,11 @@ EXPOSE 80
4545# Start Apache
4646ENTRYPOINT ["/entrypoint.sh" ]
4747CMD ["apachectl" , "-D" , "FOREGROUND" ]
48+
49+ HEALTHCHECK \
50+ --start-period=30s \
51+ --start-interval=1s \
52+ --interval=10s \
53+ --timeout=1s \
54+ --retries=20 \
55+ CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
Original file line number Diff line number Diff line change 11FROM haproxy:2.8
2+
3+ USER root
4+ RUN apt-get update && \
5+ apt-get install -y curl && \
6+ rm -rf /var/lib/apt/lists/* \
7+ USER haproxy
8+
29COPY conf/haproxy.pem /usr/local/etc/haproxy
310
11+ HEALTHCHECK \
12+ --start-period=30s \
13+ --start-interval=1s \
14+ --interval=10s \
15+ --timeout=1s \
16+ --retries=20 \
17+ CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
18+
Original file line number Diff line number Diff line change @@ -25,3 +25,11 @@ RUN mkdir /var/www/html/public
2525
2626RUN rm -rf /etc/apache2/sites-enabled/*
2727COPY ./conf/appconf.conf /etc/apache2/sites-enabled/
28+
29+ HEALTHCHECK \
30+ --start-period=30s \
31+ --start-interval=1s \
32+ --interval=10s \
33+ --timeout=1s \
34+ --retries=20 \
35+ CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
Original file line number Diff line number Diff line change @@ -25,3 +25,11 @@ RUN mkdir /var/www/html/public
2525
2626RUN rm -rf /etc/apache2/sites-enabled/*
2727COPY ./conf/appconf.conf /etc/apache2/sites-enabled/
28+
29+ HEALTHCHECK \
30+ --start-period=30s \
31+ --start-interval=1s \
32+ --interval=10s \
33+ --timeout=1s \
34+ --retries=20 \
35+ CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
Original file line number Diff line number Diff line change @@ -86,3 +86,11 @@ EXPOSE 80
8686# Start Apache
8787ENTRYPOINT ["/entrypoint.sh" ]
8888CMD ["apache2-foreground" ]
89+
90+ HEALTHCHECK \
91+ --start-period=30s \
92+ --start-interval=1s \
93+ --interval=10s \
94+ --timeout=1s \
95+ --retries=20 \
96+ CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
Original file line number Diff line number Diff line change @@ -25,3 +25,11 @@ RUN mkdir -p /var/www/html/public
2525
2626RUN rm -rf /etc/apache2/sites-enabled/*
2727COPY ./conf/appconf.conf /etc/apache2/sites-enabled/
28+
29+ HEALTHCHECK \
30+ --start-period=30s \
31+ --start-interval=1s \
32+ --interval=10s \
33+ --timeout=1s \
34+ --retries=20 \
35+ CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
Original file line number Diff line number Diff line change @@ -72,3 +72,11 @@ EXPOSE 80
7272# Start Apache
7373ENTRYPOINT ["/entrypoint.sh" ]
7474CMD ["apache2-foreground" ]
75+
76+ HEALTHCHECK \
77+ --start-period=30s \
78+ --start-interval=1s \
79+ --interval=10s \
80+ --timeout=1s \
81+ --retries=20 \
82+ CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
Original file line number Diff line number Diff line change @@ -24,3 +24,11 @@ RUN mkdir -p /var/www/html/public
2424
2525RUN rm -rf /etc/apache2/sites-enabled/*
2626COPY ./conf/appconf.conf /etc/apache2/sites-enabled/
27+
28+ HEALTHCHECK \
29+ --start-period=30s \
30+ --start-interval=1s \
31+ --interval=10s \
32+ --timeout=1s \
33+ --retries=20 \
34+ CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
Original file line number Diff line number Diff line change @@ -76,3 +76,11 @@ EXPOSE 80
7676# Start Apache
7777ENTRYPOINT ["/entrypoint.sh" ]
7878CMD ["apache2-foreground" ]
79+
80+ HEALTHCHECK \
81+ --start-period=30s \
82+ --start-interval=1s \
83+ --interval=10s \
84+ --timeout=1s \
85+ --retries=20 \
86+ CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
You can’t perform that action at this time.
0 commit comments