Skip to content

Commit 8d48fac

Browse files
committed
Don't clobber uwsgi config file with standalone version
1 parent 438d0d2 commit 8d48fac

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN touch /etc/service/uwsgi/down
9696

9797
# Standalone version of uwsgi that doesn't require consul
9898
COPY ./docker/uwsgistandalone/uwsgi.service /etc/service/uwsgistandalone/run
99-
COPY ./docker/uwsgistandalone/uwsgi.ini /etc/uwsgi/uwsgi.ini
99+
COPY ./docker/uwsgistandalone/uwsgi.ini /etc/uwsgi/uwsgi-standalone.ini
100100
RUN touch /etc/service/uwsgistandalone/down
101101

102102
# hl_extractor service files

docker/uwsgistandalone/uwsgi.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[uwsgi]
22
master = true
3-
http = 0.0.0.0:3031
3+
socket = 0.0.0.0:3031
44
module = server
55
callable = application
66
chdir = /code
77
enable-threads = true
8-
processes = 100
8+
processes = 300
99
log-x-forwarded-for = true
10-
disable-logging = true
10+
disable-logging = true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
exec chpst -uacousticbrainz:acousticbrainz uwsgi --die-on-term /etc/uwsgi/uwsgi.ini
3+
exec chpst -uacousticbrainz:acousticbrainz uwsgi --die-on-term /etc/uwsgi/uwsgi-standalone.ini

0 commit comments

Comments
 (0)