Skip to content

Commit b2ad5f1

Browse files
Merge pull request laradock#888 from tristanbailey/patch-1
Update Redis Docker File
2 parents 5dc4db4 + c31e002 commit b2ad5f1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

redis/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ FROM redis:latest
22

33
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
44

5+
## For security settings uncomment, make the dir, copy conf, and also start with the conf, to use it
6+
#RUN mkdir -p /usr/local/etc/redis
57
#COPY redis.conf /usr/local/etc/redis/redis.conf
68

79
VOLUME /data
810

911
EXPOSE 6379
1012

13+
#CMD ["redis-server", "/usr/local/etc/redis/redis.conf"]
1114
CMD ["redis-server"]

0 commit comments

Comments
 (0)