patrikx3/redis-ui

Can I configure the port and address to listen on? (not Redis instances, the p3x-redis-ui service)

Closed this issue · 4 comments

Pretty straightforward: can I configure the port and address of the redis-ui server to listen on?

If so, how? are there any environment variables I can set?

yes, settings.

This did not answer my question. p3x-redis-ui is a web service that listens by default on 0.0.0.0:7843.

Can I change these defaults? How can I change these defaults?


UPDATE

I see that I can change the port by passing in my own config.json file copied from: https://github.com/patrikx3/redis-ui-server/blob/master/artifacts/boot/p3xrs.json

Can I change the address so that it only looks at loopback (127.0.0.1) for example?

yes

May I know how to change the address? I have tried multiple settings but none of them work

{
    "p3xrs": {
        "http": {
            "host": "127.0.0.1",
            "ip": "127.0.0.1",
            "address": "127.0.0.1",
            "port": 7843
        },
        ...
    }
}