Intermédiaire
This commit is contained in:
10
Docker/Redis/Dockerfile
Normal file
10
Docker/Redis/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM alpine:3.12
|
||||
LABEL author="Serge NOEL <serge.noel@easylinux.fr>"
|
||||
|
||||
RUN apk add redis
|
||||
RUN sed -i "s/bind 127.0.0.1/#bind 127.0.0.1/g" /etc/redis.conf \
|
||||
&& sed -i "s|logfile /var/log/redis/redis.log|logfile /dev/stdout|g" /etc/redis.conf
|
||||
|
||||
|
||||
EXPOSE 6379
|
||||
VOLUME /var/lib/redis
|
||||
Reference in New Issue
Block a user