fixes
This commit is contained in:
@@ -17,6 +17,6 @@ COPY proxy/ /proxy/
|
|||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
EXPOSE 5050
|
EXPOSE 5050
|
||||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
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"]
|
CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:5050", "proxy:proxy_app"]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "python3", "/app/test.py" ]
|
test: [ "CMD", "python3", "/proxy/test.py" ]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user