We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c3825c commit 5ceab61Copy full SHA for 5ceab61
1 file changed
docker/Dockerfile.prod
@@ -16,6 +16,14 @@ COPY ./docker/conf/engine.conf /etc/apache2/sites-enabled/engine.conf
16
# Instantiate devconf config
17
RUN cp config/packages/parameters.yml.dist config/packages/parameters.yml
18
19
+HEALTHCHECK \
20
+ --start-period=30s \
21
+ --start-interval=1s \
22
+ --interval=10s \
23
+ --timeout=1s \
24
+ --retries=20 \
25
+ CMD curl --fail -s -o /dev/null -w "%{http_code}" http://localhost/internal/health
26
+
27
# Set the default workdir
28
EXPOSE 80
29
CMD ["apache2-foreground"]
0 commit comments