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

Upgrade python, consul-template, uWSGI #451

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Upgrade python, consul-template, uWSGI #451

merged 1 commit into from
Nov 28, 2023

Commits on Nov 27, 2023

  1. Upgrade python, consul-template, uWSGI

    We fixed the `bind(): Address already in use [core/socket.c line 769]` error using
    `exit-on-reload = true` in uWSGI configuration. However, this prevents graceful
    reloading.
    
    I did some further investigation as noted in metabrainz/artwork-redirect#46 and have
    a better fix in mind now.
    
    For the command field in exec block of consul template configuration, use array
    format. This executes the command directly without spawning a shell wrapper or
    setting a process group id. Both of which will interfere with forwarding signals
    to the uWSGI process.
    
    This also needs a newer version of consul-template. So upgrading to a newer
    base image.
    amCap1712 committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    4aec2f6 View commit details
    Browse the repository at this point in the history