fixes
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user