2016-05-06 16:04:02 +02:00
|
|
|
FROM redis:latest
|
|
|
|
|
2018-03-16 14:09:15 +01:00
|
|
|
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
2016-05-06 16:04:02 +02:00
|
|
|
|
2017-05-04 09:22:32 +02: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
|
2016-06-03 00:50:11 +02:00
|
|
|
#COPY redis.conf /usr/local/etc/redis/redis.conf
|
|
|
|
|
|
|
|
VOLUME /data
|
2016-05-06 16:04:02 +02:00
|
|
|
|
|
|
|
EXPOSE 6379
|
2016-06-03 00:50:11 +02:00
|
|
|
|
2017-05-04 09:22:32 +02:00
|
|
|
#CMD ["redis-server", "/usr/local/etc/redis/redis.conf"]
|
2016-06-03 00:50:11 +02:00
|
|
|
CMD ["redis-server"]
|