From 804871a9a5aa548e9d1594f2623299e5e752c75b Mon Sep 17 00:00:00 2001
From: "W. Trevor King" <wking@tremily.us>
Date: Wed, 30 Apr 2014 11:32:11 -0700
Subject: [PATCH] hubot/Dockerfile.template: Change 'REDISCLOUD_URL' ->
 'REDIS_URL'

hubot-scripts has supported this since 48a3b142 (Added REDIS_URL to
support dokku, 2014-03-01).  It still doesn't match Docker's
REDIS_PORT, but it's more generic than the provider-specific
REDISCLOUD_URL.
---
 hubot/Dockerfile.template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hubot/Dockerfile.template b/hubot/Dockerfile.template
index 8c44151..28537b6 100644
--- a/hubot/Dockerfile.template
+++ b/hubot/Dockerfile.template
@@ -64,6 +64,6 @@ RUN git clone git://github.com/jenrzzz/hubot-logger.git && cp hubot-logger/logge
 # Container networking happens automatically
 RUN sed -i 's/need net$/use net/' /etc/init.d/*
 
-CMD cd hubot && REDISCLOUD_URL="${REDIS_PORT}" LOG_REDIS_URL="${REDIS_PORT}" PORT=80 exec bin/hubot --name "${HUBOT_IRC_NICK:-hubot}" -a irc
+CMD cd hubot && REDIS_URL="${REDIS_PORT}" LOG_REDIS_URL="${REDIS_PORT}" PORT=80 exec bin/hubot --name "${HUBOT_IRC_NICK:-hubot}" -a irc
 EXPOSE 80
 EXPOSE 8000
-- 
2.26.2