[mod] redis

This commit is contained in:
Andy Bunce 2022-05-10 16:59:05 +01:00
parent 19febec27b
commit 69c563ab3f
2 changed files with 14 additions and 9 deletions

8
redis/data/.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
# .gitignore sample
###################
# Ignore all files in this dir...
*
# ... except for this one.
!.gitignore

View File

@ -4,14 +4,11 @@ services:
redis:
image: "arm32v7/redis"
command: redis-server
command: redis-server --save 20 1 --loglevel warning
container_name: redis-test
network_mode: "host"
ports:
- '6379:6379'
restart: unless-stopped
volumes:
- redis-data:/data
- redis-conf:/usr/local/etc/redis/redis.conf
- ./data:/data
volumes:
redis-data:
redis-conf: