chore: small improvements
This commit is contained in:
@@ -183,3 +183,6 @@ Dockerfile.staticfiles
|
|||||||
|
|
||||||
# Collected static files
|
# Collected static files
|
||||||
static
|
static
|
||||||
|
|
||||||
|
# Profile files
|
||||||
|
*.prof
|
||||||
|
|||||||
@@ -40,4 +40,4 @@ EXPOSE 8080
|
|||||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --start-interval=2s --retries=3 \
|
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:8080/health?format=json || exit 1
|
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:8080/health?format=json || exit 1
|
||||||
|
|
||||||
CMD [ "opentelemetry-instrument", "--service_name", "backend-django", "--traces_exporter", "zipkin_json", "gunicorn", "config.wsgi", "--workers=8", "-b", "0.0.0.0:8080", "--access-logfile", "-", "--error-logfile", "-" ]
|
CMD [ "opentelemetry-instrument", "--service_name", "backend-django", "--traces_exporter", "zipkin_json", "gunicorn", "config.wsgi", "--workers=2", "-b", "0.0.0.0:8080", "--access-logfile", "-", "--error-logfile", "-" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user