mirror of
https://github.com/PlayEdu/docker-compose.git
synced 2025-07-18 09:57:36 +08:00
14 lines
337 B
Docker
14 lines
337 B
Docker
FROM redis:7.0.2
|
|
|
|
LABEL 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"]
|