Redis with custom config
The default redis deployed by railway uses the bitnami redis image. I want to extend the functionality and use a custom redis config (
redis.conf
)
What I tried:
Dockerfile:
I have also attached a volume at the path /bitname
.
But I keep getting the error mkdir: cannot create directory '/bitnami/redis': Permission denied
The railawy redis works out of the box, so want to know what is the best way to get this working? (since railway does not allow passing in arguments to docker run
)
Not related to Railway:
I am not able to run this locally either, I tried running it with the command docker run -e ALLOW_EMPTY_PASSWORD=yes -v $HOME/data:/bitnami/redis/data redis-temp
(redis-temp is the name of the image I built), but this gives the Can't open or create append-only dir appendonlydir: Permission denied
error. Not sure what the correct answer here is4 Replies
Project ID:
3b58a837-a508-4969-a318-7c37050d177e
3b58a837-a508-4969-a318-7c37050d177e
what are you trying to configure? maybe what you're trying to configure can be done with environment variables or command flags on the provided redis template?
May be a stupid question, but didn't u mistype?
u said u created a volume on
/bitname
while it uses /bitnami