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

Instruction about installing postgres with docker

parent 2a067a2f
Branches
No related tags found
No related merge requests found
......@@ -84,6 +84,10 @@ 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.
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.
## Create a certificate for our deployments
We need to use a certificate to secure HTTPS communication, both the Mastodon and Matrix protocols require it. This can be done manually for the moment and automated later, as it is not super straightforward. I refer you to the [documentation on certbot + nginx](https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04) I would recommend that you create a `mastodon.<yourdomain>` and a `matrix.<yourdomain>` certificate, then back them up somewhere safe as Letsencrypt has pretty aggressive rate limiting with regard to certificate creations.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment