Update db install instructions

This commit is contained in:
Thomas Maurice 2023-01-13 10:09:01 +01:00
parent a586575d09
commit a4ee927729
Signed by: thomas
GPG key ID: 1A55753096B00112

View file

@ -88,6 +88,11 @@ To deploy Synapse and Mastodon, you need to deploy a database server. We are goi
For more details to do this, I refer you to [this link](https://stribny.name/blog/ansible-postgresql/) which will walk you through how to deal with this. For more details to do this, I refer you to [this link](https://stribny.name/blog/ansible-postgresql/) which will walk you through how to deal with this.
Note that you won't be using the `dnf` instruction here since DNF is the package manager for CentOS based systems, use `apt` instead. Similarily the packages are named a bit differently, you need to install
- `postgresql`
- `python3-psycopg2`
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 youd DB machine, which should be the one with the least amount of RAM.