Add ability to connect to PostgreSQL via unix socket

This commit is contained in:
Victor Freire
2022-08-12 14:00:16 -03:00
parent 09cd7ba304
commit ec5acf7be2
3 changed files with 13 additions and 3 deletions

View File

@@ -116,6 +116,9 @@ db_path: /var/lib/headscale/db.sqlite
# # Postgres config
# 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