Skip to content

Commit

Permalink
Add ability to connect to PostgreSQL via unix socket
Browse files Browse the repository at this point in the history
  • Loading branch information
ratsclub committed Aug 15, 2022
1 parent 7197ade commit 0a5db52
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a5db52

Please sign in to comment.