mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-11-20 17:57:58 +00:00
chore: reduced number of workers for nginx
This commit is contained in:
1 parent
3838ad83e6
commit
56657cee9f
3 files changed
+5
-1
No files matched your search
@@ -26,6 +26,8 @@ COPY --from=builder /app/static /usr/share/nginx/html
|
||||
|
||||
COPY ../checker/checker_requirements.txt /usr/share/nginx/html
|
||||
|
||||
RUN sed -i 's/worker_processes .*/worker_processes 1;/' /etc/nginx/nginx.conf
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --start-interval=2s --retries=3 \
|
||||
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:80/ || exit 1
|
||||
|
||||
|
||||
Reference in new issue
Block a user