Add readme for postgresql support

This commit is contained in:
Nico Schottelius 2020-04-08 12:03:18 +02:00
parent 913e992a48
commit 8986835c7e
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
* uncloud clients access the data base from a variety of outside hosts
* So the postgresql data base needs to be remotely accessible
* Instead of exposing the tcp socket, we make postgresql bind to localhost via IPv6
** ::1, port 5432
* Then we remotely connect to the database server with ssh tunneling
** ssh -L5432:localhost:5432 uncloud-database-host
* Configuring your database for SSH based remote access
** host all all ::1/128 trust