fix: Exit docker container on any process exit #462

Merged
davidfrickert merged 2 commits from fix/docker-exit-on-error into main 2024-01-30 13:47:43 +00:00
davidfrickert commented 2024-01-11 19:03:21 +00:00 (Migrated from gitea.com)

Description

Issue described in #460

Changes

  • Edited supervisord.conf to exit if it detects any of the supervisored processes exiting.
  • minor text fix

Notes

Without this change (or something similar), if act_runner fails, then the container will stay up as a zombie container - it does nothing and does not restart. After this change, if act_runner fails (e.g. due to Gitea instance being down), then supervisord will exit and the container will be restarted.

## Description Issue described in #460 ## Changes - Edited `supervisord.conf` to exit if it detects any of the supervisored processes exiting. - minor text fix ## Notes Without this change (or something similar), if act_runner fails, then the container will stay up as a zombie container - it does nothing and does not restart. After this change, if act_runner fails (e.g. due to Gitea instance being down), then supervisord will exit and the container will be restarted.
toastedcrumpets commented 2024-01-29 22:15:44 +00:00 (Migrated from gitea.com)

LGTM!

LGTM!
lunny (Migrated from gitea.com) approved these changes 2024-01-30 13:47:26 +00:00
Sign in to join this conversation.