Closed zcaudate closed 3 years ago
Hi @zcaudate,
Sorry for the late response. You can create a config file where the redis_host
field points to an environment variable; see the documentation for this feature here.
Your webdis.json
should look something like this:
{
"redis_host": "$REDIS_HOST",
"redis_port": "$REDIS_PORT",
}
Ah awesome. That makes a lot of sense. Thanks heaps.
I'd like to be able to spin up a docker instance of webdis and connect it to an already existing redis server.
Currently it's a bit difficult to do that. Being able to pass in ENV variables will make it easier.