File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,16 @@ EXPOSE 9090
1818CMD 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 - \
You can’t perform that action at this time.
0 commit comments