This commit is contained in:
2025-03-03 22:27:28 +03:00
parent e34896046b
commit 0cea709572
2 changed files with 2 additions and 2 deletions

View File

@@ -17,6 +17,6 @@ COPY proxy/ /proxy/
ENV PYTHONUNBUFFERED=1
EXPOSE 5050
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
CMD python3 test.py
CMD python3 /proxy/test.py
CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:5050", "proxy:proxy_app"]

View File

@@ -7,7 +7,7 @@ services:
depends_on:
- redis
healthcheck:
test: [ "CMD", "python3", "/app/test.py" ]
test: [ "CMD", "python3", "/proxy/test.py" ]
interval: 30s
timeout: 10s
retries: 3