We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0 parents commit 4509e1dCopy full SHA for 4509e1d
Dockerfile
@@ -0,0 +1,7 @@
1
+FROM alpine:3.8
2
+
3
+RUN apk add --no-cache redis
4
+ADD /run.sh /run.sh
5
+RUN chmod +x /run.sh
6
7
+CMD ['/run.sh']
run.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+mkdir -p /efs/redis
+/usr/bin/redis-server \
+ --protected-mode no \
+ --maxmemory-policy allkeys-lru \
+ --maxmemory ${REDIS_MEMORY:-64M} \
+ --append-only yes \
8
+ --dir /efs/redis \
9
+ --appendfsync everysec
0 commit comments