Add working redis for searx

This commit is contained in:
Marko Korhonen 2022-08-15 13:52:10 +03:00
parent 581dbdb22c
commit 7c1b22e57f
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
2 changed files with 23 additions and 14 deletions

View 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