-
Notifications
You must be signed in to change notification settings - Fork 97
Description
Hello,
First, thanks for this nice GUI for Redis.
We are trying to make it work with redis on unix socket. We have many containers and using TCP is not a solution as docker is limited to around 30 networks and we don't want others containers being able to connect to redmin (if we make 1 network per stack to secure redis, we would be limited to maximum 30 indepedant stacks). So we set it as socket and share the socket folder between redis container and phpredmin container.
In my docker-compose I have:
environment:
- "PHPREDMIN_DATABASE_REDIS_0_HOST=unix:///var/run/redis/redis.sock"
But it don't work, i got a blanck page... no errors displayed and nothing in /var/log.
First, where can we find the errors log or force display them ?
Second what is the good synthax to make it work with socket, I tried:
- unix:///var/run/redis/redis.sock
- unix:/var/run/redis/redis.sock
- unix://var/run/redis/redis.sock
- ///var/run/redis/redis.sock
- /var/run/redis/redis.sock
But none works... : (
I should add using TCP, the exact same docker compose work.
Socket is working, i tested it with redis-cli.
So the problem seems to make phpredmin use the socket file... I any help could be given it would be nice, and may e add it to the documentation.
Thanks!