redis: add Dockerfile for a simple redis container
1 files changed, 10 insertions(+), 0 deletions(-) A redis/Dockerfile
A redis/Dockerfile => redis/Dockerfile +10 -0
@@ 0,0 1,10 @@ FROM alpine:3.18 RUN apk --no-cache add redis ca-certificates doas RUN echo "permit nopass root" >> /etc/doas.d/doas.conf RUN mkdir /data && chown redis:redis /data VOLUME /data WORKDIR /data ENTRYPOINT ["/usr/bin/doas", "-u", "redis", "/usr/bin/redis-server", "--protected-mode", "no"]