Skip to content

Commit eb92b92

Browse files
committed
update readme
1 parent ff1300d commit eb92b92

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,17 @@ netbox_database_user: netbox
155155
#netbox_database_host: localhost
156156
netbox_database_port: 5432
157157
#netbox_database_socket: /var/run/postgresql
158+
#netbox_database_alt_socket: false
158159
----
159160

160161
It is *required* to configure either a socket directory (to communicate over UNIX sockets) or a host/password (to use TCP/IP).
161162
See the _Example Playbook_ section for more information on configuring the database.
162163

164+
Setting `netbox_database_alt_socket` to `true` will skip the database connectivity check
165+
tasks and also set `netbox_database_port` alongside the socket connection for the
166+
database configuration. This will help with environments that may be running pgbouncer
167+
on the same server as NetBox.
168+
163169
Note that these are used to configure `DATABASE` in `configuration.py`.
164170

165171
[source,yaml]

0 commit comments

Comments
 (0)