Declare ENV S6_BEHAVIOUR_IF_STAGE2_FAILS with value 2

This will effectively terminate supervision tree if failure should occur during stage 2
This commit is contained in:
xZero707 2020-06-16 19:41:09 +02:00
parent fc0cca3452
commit 73236b405f

View File

@ -47,4 +47,6 @@ RUN echo "* * * * * /usr/local/bin/php /var/www/${WEB_ROOT}/wp-cron.php" >> /etc
VOLUME ["/var/www/${WEB_ROOT}", "/var/www/${WEB_ROOT}/wp-content"] VOLUME ["/var/www/${WEB_ROOT}", "/var/www/${WEB_ROOT}/wp-content"]
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS 2
EXPOSE 80/TCP EXPOSE 80/TCP