Replies: 2 comments 2 replies
-
You can pass Unix socket location in HOST SECTION of settings and try |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm not sure what you're trying to do. Unix domain sockets can only be used to communicate between processes on the same host. Putting the socket path on shared storage doesn't alter that. If Postgres and Netbox are running in different hosts (or different VMs on the same host), then you'll need to use a TCP socket to connect them. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am currently running a PostgreSQL instance on a different host, with a socket path exposed on a shared storage. I would like to install Netbox on another container, however I do not wish to add a new PGSQL instance there as well. Is it possible to configure Netbox to connect to an unix socket for the PGSQL database, instead of a TCP port? I can imagine something like providing /path/to/pgsqldb.sock instead of "localhost:port"
Thank You,
Beta Was this translation helpful? Give feedback.
All reactions