From: W. Trevor King Date: Wed, 30 Apr 2014 18:32:11 +0000 (-0700) Subject: hubot/Dockerfile.template: Change 'REDISCLOUD_URL' -> 'REDIS_URL' X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=804871a9a5aa548e9d1594f2623299e5e752c75b;p=dockerfile.git 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. --- 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