Merge pull request #888 from tristanbailey/patch-1

Update Redis Docker File
This commit is contained in:
Winfried 2017-05-16 02:58:12 +02:00 committed by GitHub
commit b2ad5f16e8

View File

@ -2,10 +2,13 @@ FROM redis:latest
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me> MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
## For security settings uncomment, make the dir, copy conf, and also start with the conf, to use it
#RUN mkdir -p /usr/local/etc/redis
#COPY redis.conf /usr/local/etc/redis/redis.conf #COPY redis.conf /usr/local/etc/redis/redis.conf
VOLUME /data VOLUME /data
EXPOSE 6379 EXPOSE 6379
#CMD ["redis-server", "/usr/local/etc/redis/redis.conf"]
CMD ["redis-server"] CMD ["redis-server"]