Browse Source

Merge pull request #888 from tristanbailey/patch-1

Update Redis Docker File
Winfried 8 năm trước cách đây
mục cha
commit
b2ad5f16e8
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      redis/Dockerfile

+ 3 - 0
redis/Dockerfile

@@ -2,10 +2,13 @@ FROM redis:latest
 
 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
 
 VOLUME /data
 
 EXPOSE 6379
 
+#CMD ["redis-server", "/usr/local/etc/redis/redis.conf"]
 CMD ["redis-server"]