Skip to content
Snippets Groups Projects
Unverified Commit 7279674d authored by Thomas Maurice's avatar Thomas Maurice
Browse files

fix db instructions

parent 1aa88064
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,16 @@ Note that you won't be using the `dnf` instruction here since DNF is the package ...@@ -102,7 +102,16 @@ Note that you won't be using the `dnf` instruction here since DNF is the package
If you are feeling adventurous you can install postgresql using [docker](https://github.com/levonet/ansible-docker-postgres). If you are feeling adventurous you can install postgresql using [docker](https://github.com/levonet/ansible-docker-postgres).
Either way, you need to install this on youd DB machine, which should be the one with the least amount of RAM. Either way, you need to install this on your DB machine, which should be the one with the least amount of RAM.
Go check the configuration of `/etc/postgresql/13/main/pg_hba.conf` and `/etc/postgresql/13/main/postgresql.conf` to make sure you can connect from `0.0.0.0`.
On the `pg_hba.conf` file add a line like that at the end:
```
host all all <the netmask you want to add> md5
```
Also change the `listen` instruction to `*`.
## Install Nginx ## Install Nginx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment