Add ability to connect to PostgreSQL via unix socket
This commit is contained in:
parent
7197ade4b4
commit
0a5db52855
1 changed files with 1 additions and 3 deletions
|
@ -114,11 +114,9 @@ db_type: sqlite3
|
||||||
db_path: /var/lib/headscale/db.sqlite
|
db_path: /var/lib/headscale/db.sqlite
|
||||||
|
|
||||||
# # Postgres config
|
# # Postgres config
|
||||||
|
# If using a Unix socket to connect to Postgres, set the socket path in the 'host' field and leave 'port' blank.
|
||||||
# db_type: postgres
|
# db_type: postgres
|
||||||
# db_host: localhost
|
# db_host: localhost
|
||||||
|
|
||||||
# This should be set when using a TCP connection, set it to '0' or keep it unset if
|
|
||||||
# connecting through a unix socket.
|
|
||||||
# db_port: 5432
|
# db_port: 5432
|
||||||
# db_name: headscale
|
# db_name: headscale
|
||||||
# db_user: foo
|
# db_user: foo
|
||||||
|
|
Loading…
Reference in a new issue