Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use exec to forward signals like SIGTERM to gunicorn #125

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

jpxd
Copy link
Collaborator

@jpxd jpxd commented Aug 29, 2021

Otherwise the container cannot be shutdown orderly and will be killed after a 10sec timeout

Also see: https://hynek.me/articles/docker-signals/

@jpxd jpxd requested a review from mormahr August 29, 2021 16:30
@codecov
Copy link

codecov bot commented Aug 29, 2021

Codecov Report

Merging #125 (72c8c1b) into main (4e951a4) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #125   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          104       104           
=========================================
  Hits           104       104           
Flag Coverage Δ
unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4e951a4...72c8c1b. Read the comment docs.

@jpxd jpxd mentioned this pull request Aug 29, 2021
Otherwise the container cannot be shutdown orderly and will be killed after a 10sec timeout
Dockerfile Show resolved Hide resolved
@mormahr
Copy link
Owner

mormahr commented Sep 1, 2021

Looks good. We should look into using tini in the future, though.

@mormahr mormahr merged commit 04ff0e3 into main Sep 1, 2021
@mormahr mormahr deleted the forward-signals branch September 1, 2021 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants