File tree Expand file tree Collapse file tree 4 files changed +27
-2
lines changed
Expand file tree Collapse file tree 4 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ services:
5858 command : beat
5959
6060 flower :
61- << : *common
61+ << : [ *common, *env]
6262 command : flower
6363 environment :
6464 - DEBUG=true
Original file line number Diff line number Diff line change @@ -148,7 +148,8 @@ COPY --chown=hope:unicef --from=production /venv /venv
148148COPY --from=builder /usr/local/bin/uwsgi /usr/local/bin/uv /usr/local/bin/
149149RUN --mount=type=cache,target=/root/.uv-cache \
150150 uv --cache-dir=/root/.uv-cache pip install --no-deps . \
151- && rm -fr /app
151+ && rm -fr /app/* \
152+
152153
153154
154155EXPOSE 8000
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ export STATIC_ROOT="${STATIC_ROOT:-/var/run/app/static}"
66export UWSGI_PROCESSES=" ${UWSGI_PROCESSES:- " 4" } "
77export DJANGO_SETTINGS_MODULE=" country_workspace.config.settings"
88
9+ mkdir -p /app/
10+ chown -R hope:unicef /app
11+ cd /app
12+
913case " $1 " in
1014 run)
1115 django-admin upgrade --with-check
Original file line number Diff line number Diff line change 1+ [uwsgi]
2+
3+ http-socket =0.0.0.0:8888
4+ virtualenv =/venv
5+ enable-threads =0
6+ honour-range =1
7+ master =1
8+ module =birder.config.wsgi
9+ processes =$(UWSGI_PROCESSES)
10+ buffer-size = 8192
11+ static-map = /static/=$(STATIC_ROOT)
12+ static-gzip-all =true
13+ http-keepalive = 1
14+ collect-header =Content-Type RESPONSE_CONTENT_TYPE
15+ ; socket = /tmp/birder.sock
16+ ; chmod-socket = 660
17+ ; vacuum = true
18+ ; die-on-term = true
19+ ; uid = brd
20+ ; gid = os4d
You can’t perform that action at this time.
0 commit comments