From 6e032f3a81a50dec4eb1a8331c15b5ce7ac8f0aa Mon Sep 17 00:00:00 2001 From: Jonathan Senecal Date: Thu, 13 Sep 2018 11:19:27 -0400 Subject: [PATCH] Provide ability to override Memcached and RRD ports --- entrypoint.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 8e27e0f..02075be 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,6 +20,10 @@ DB_NAME=${DB_NAME:-"librenms"} DB_USER=${DB_USER:-"librenms"} DB_PASSWORD=${DB_PASSWORD:-"asupersecretpassword"} +MEMCACHED_PORT=${MEMCACHED_PORT:-"11211"} + +RRDCACHED_PORT=${RRDCACHED_PORT:-"42217"} + # Timezone echo "Setting timezone to ${TZ}..." ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime @@ -112,7 +116,7 @@ if [ ! -z "${MEMCACHED_HOST}" ]; then ${LIBRENMS_PATH}/config.d/rrdcached.php <