We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15a7c98 + 5ceab61 commit d8e4cedCopy full SHA for d8e4ced
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