This commit is contained in:
none
2023-06-14 09:46:37 +08:00
parent f91382f3c5
commit 904be7605c
6 changed files with 55 additions and 69 deletions

View File

@@ -2,12 +2,10 @@ 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"]
CMD ["redis-server", "/usr/local/etc/redis/redis.conf"]