diff --git a/docker/backend.dockerfile b/docker/backend.dockerfile index bcec9534..c282127b 100644 --- a/docker/backend.dockerfile +++ b/docker/backend.dockerfile @@ -50,6 +50,8 @@ ENV CPATH=$CPATH:/usr/include/httpd/:/usr/include/apr-1/ ENV LDLINK_HOME=/opt/ldlink +ENV LDLINK_HEALTHCHECK_PORT=8080 + ENV LDLINK_HEALTHCHECK_PATH=/LDlinkRest/ping ENV PYTHONPATH=${LDLINK_HOME}:${PYTHONPATH} diff --git a/docker/wsgi.conf b/docker/wsgi.conf index 0f98f3e9..a1d7458a 100644 --- a/docker/wsgi.conf +++ b/docker/wsgi.conf @@ -1,7 +1,7 @@ # Health check VirtualHost -Listen 8080 +Listen ${LDLINK_HEALTHCHECK_PORT} - + WSGIDaemonProcess health_check processes=1 threads=2 WSGIProcessGroup health_check WSGIScriptAlias / ${LDLINK_HOME}/healthcheck.wsgi