Skip to content

Commit

Permalink
Update MeB uwsgi.ini to match LB uwsgi.ini (#425)
Browse files Browse the repository at this point in the history
LB's uwsgi.ini configuration is more robust and plays well with consul too.
  • Loading branch information
amCap1712 authored Aug 17, 2023
1 parent 3153164 commit 6c8782a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docker/prod/uwsgi.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
[uwsgi]
uid = www-data
gid = www-data
master = true
socket = 0.0.0.0:13031
module = metabrainz
enable-threads = true
callable = create_app()
chdir = /code/
chdir = /code/metabrainz
processes = 20
listen = 1024
log-x-forwarded-for=true
disable-logging = true
; quit uwsgi if the python app fails to load
need-app = true
; when uwsgi gets a sighup, quit completely and let runit restart us
exit-on-reload = true

0 comments on commit 6c8782a

Please sign in to comment.