File tree 2 files changed +38
-0
lines changed
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ RUN set -ex && \
204
204
# Copy init scripts and additional files
205
205
COPY --chown=ckan:ckan initScripts/ ${APP_DIR}/docker-afterinit.d
206
206
COPY --chown=ckan:ckan who.ini ${APP_DIR}/who.ini
207
+ COPY --chown=ckan:ckan uwsgi.conf ${APP_DIR}/uwsgi.conf
207
208
208
209
RUN set -ex && \
209
210
ckan config-tool "${CKAN_INI}" "ckan.plugins = ${CKAN__PLUGINS}" && \
Original file line number Diff line number Diff line change
1
+ [uwsgi]
2
+ socket = /tmp/uwsgi.sock
3
+ uid = ckan
4
+ gid = ckan
5
+ http = :5000
6
+
7
+ master = true
8
+ enable-threads = true
9
+ lazy-apps = true
10
+ gevent-early-monkey-patch = true
11
+ vacuum = true
12
+ single-interpreter= true
13
+ die-on-term = true
14
+ need-app = true
15
+ auto-procname = true
16
+
17
+ wsgi-file = /srv/app/wsgi.py
18
+ module = wsgi:application
19
+ gevent = 2000
20
+ callable = application
21
+ paste = config:/srv/app/production.ini
22
+ paste-logger = /srv/app/production.ini
23
+
24
+ post-buffering = 1
25
+ buffer-size= 12288
26
+ max-requests = 3000
27
+ max-worker-lifetime = 3600
28
+ reload-on-rss = 4096
29
+ worker-reload-mercy = 60
30
+ socket-timeout = 300
31
+ queue = 1000
32
+ queue-blocksize = 204800
33
+ static-gzip-all = true
34
+ listen = 128
35
+ http-timeout = 1000
36
+ http-headers-timeout = 1000
37
+ http-connect-timeout = 1000
You can’t perform that action at this time.
0 commit comments