mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-24 00:37:52 +00:00
Add ability to connect to PostgreSQL via unix socket
This commit is contained in:
parent
7197ade4b4
commit
0a5db52855
@ -114,11 +114,9 @@ db_type: sqlite3
|
||||
db_path: /var/lib/headscale/db.sqlite
|
||||
|
||||
# # 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_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_name: headscale
|
||||
# db_user: foo
|
||||
|
Loading…
x
Reference in New Issue
Block a user