hubot/Dockerfile.template: Change 'REDISCLOUD_URL' -> 'REDIS_URL'
authorW. Trevor King <wking@tremily.us>
Wed, 30 Apr 2014 18:32:11 +0000 (11:32 -0700)
committerW. Trevor King <wking@tremily.us>
Wed, 30 Apr 2014 18:32:11 +0000 (11:32 -0700)
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

index 8c4415194a7296210559e89d1588401982174d9c..28537b63b434e7ae98e2919efd875ac705246aba 100644 (file)
@@ -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