bach 3 роки тому
батько
коміт
e58b74c224
1 змінених файлів з 13 додано та 0 видалено
  1. 13 0
      readme.md

+ 13 - 0
readme.md

@@ -17,6 +17,19 @@ systemctl enable --now postgresql
 su - postgres
 psql -c "ALTER USER postgres WITH password 'monsupermotdepasse'"
 ```
+then edit  ```/etc/postgresql/11/main/postgresql.conf```
+```
+listen_addresses = '*'
+```
+
+and /etc/postgresql/11/main/pg_hba.conf
+```
+# TYPE  DATABASE        USER            ADDRESS                 METHOD
+host    all             all             127.0.0.1/32            trust
+
+host    editoriadb      editoria        172.18.0.1/16           trust
+host    editoriadb      editoria        172.18.0.2/16           trust
+```
 
 ## xsweet