Repository navigation
[Feature] Allow Socket connections to Postgres and Redis #460
Morethanevil
started this conversation in
Ideas
Replies: 1 comment
|
Thanks @Morethanevil. Filed #783. The Postgres ?host= form should pass through node-postgres; Redis over unix:// is the more likely culprit, since ioredis wants a path option rather than that URL. We'll check the parsing in config.ts and the embedded-service gating too, a socket URL needs to count as external so the bundled DB doesn't also start. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem or use case
I would like to use my existing Postgres and Redis installation on the hostmachine, instead of 2 extra docker containers. For speed and security reasons I prefer unix socket connections. I have tried to connect Snapotter with them via mounted socket files, but Snapotter does not connect, I tried multiple socket connection URLs, but all of them are ignored :(
Proposed solution
Please consider support support for unix socket connections, it can be helpful to integrate Snapotter in existing enviroments.
Alternatives considered
No response
Area
Docker / self-hosting
Contribution
All reactions