Add working redis for searx
This commit is contained in:
parent
581dbdb22c
commit
7c1b22e57f
2 changed files with 23 additions and 14 deletions
16
docker/redis/docker-compose.toml
Normal file
16
docker/redis/docker-compose.toml
Normal file
|
@ -0,0 +1,16 @@
|
|||
[services.redis]
|
||||
image = "redis:alpine"
|
||||
container_name = "redis"
|
||||
user = "root"
|
||||
command = "redis-server /etc/redis.conf"
|
||||
restart = "unless-stopped"
|
||||
volumes = ["/docker/redis/redis.conf:/etc/redis.conf", "redis_temp:/tmp/redis"]
|
||||
|
||||
[services.redis_temp]
|
||||
image = "busybox"
|
||||
container_name = "redis_temp"
|
||||
command = "chmod -R 777 /tmp/redis"
|
||||
volumes = ["redis_temp:/tmp/redis"]
|
||||
|
||||
[volumes.redis_temp]
|
||||
external = true
|
Loading…
Add table
Add a link
Reference in a new issue