Skip to content

Commit 7cf4eb0

Browse files
committed
bitnami version fix
1 parent 0bc30dc commit 7cf4eb0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

backend/Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,16 @@ EXPOSE 9090
1818
CMD bash -c "\
1919
while [ ! -f /app/certs/server.key ]; do echo 'Waiting for TLS certs...'; sleep 2; done && \
2020
echo 'Starting application...' && \
21-
# Use kubeconfig if present, but do not block startup\
2221
if [ -f /app/kubeconfig.yaml ]; then export KUBECONFIG=/app/kubeconfig.yaml; fi && \
23-
WEB_CONCURRENCY=${WEB_CONCURRENCY:-4} WEB_THREADS=${WEB_THREADS:-1} WEB_TIMEOUT=${WEB_TIMEOUT:-60} \
2422
uv run gunicorn app.main:app \
2523
-k uvicorn.workers.UvicornWorker \
2624
--bind 0.0.0.0:443 \
27-
--workers ${WEB_CONCURRENCY} \
28-
--threads ${WEB_THREADS} \
29-
--timeout ${WEB_TIMEOUT} \
25+
--workers \${WEB_CONCURRENCY:-4} \
26+
--threads \${WEB_THREADS:-1} \
27+
--timeout \${WEB_TIMEOUT:-60} \
3028
--graceful-timeout 30 \
3129
--keep-alive 2 \
32-
--backlog ${WEB_BACKLOG:-2048} \
30+
--backlog \${WEB_BACKLOG:-2048} \
3331
--log-level info \
3432
--access-logfile - \
3533
--error-logfile - \

0 commit comments

Comments
 (0)