PostgreSQL unix socket? #4498

Closed
opened 2025-12-29 18:36:43 +01:00 by adam · 0 comments
Owner

Originally created by @eisengrau on GitHub (Jan 26, 2021).

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,

Originally created by @eisengrau on GitHub (Jan 26, 2021). 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,
adam closed this issue 2025-12-29 18:36:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4498