Add readme for postgresql support
This commit is contained in:
parent
913e992a48
commit
8986835c7e
1 changed files with 8 additions and 0 deletions
8
uncloud_django_based/uncloud/doc/README-postgresql.org
Normal file
8
uncloud_django_based/uncloud/doc/README-postgresql.org
Normal 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
|
Loading…
Reference in a new issue