laradock/redis/Dockerfile

15 lines
353 B
Docker
Raw Normal View History

FROM redis:latest
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
2017-10-12 18:54:09 +08:00
## 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
2017-10-12 18:54:09 +08:00
#CMD ["redis-server", "/usr/local/etc/redis/redis.conf"]
CMD ["redis-server"]