This page covers a production-ready deployment that requires multiple servers. If you want to deploy Hyvor Relay on for hobby or small projects (less than 25,000 emails/day), please refer to the Easy Deploy page which covers a single server deployment.
Servers:
Hyvor Relay uses PostgreSQL as the database and also as the message queue. Set up a PostgreSQL server in a production-ready manner. We have tested Hyvor Relay with PostgreSQL 16.
Since setting up a PostgreSQL server depends a bit on how your infrastructure is set up, we will not go into details here. Whichever option you choose, make sure that:
hyvor_relay
.The number of app servers you need depends on your expected email volume. Here are some rough guidelines, which are mostly on the safer side:
Also, make sure to read the Scaling page on how to scale both PostgreSQL and email workers.
We recommend using a Linux distribution like Ubuntu or Debian for the app servers. Our Cloud runs on Ubuntu 24.04 LTS. Each server should have Docker installed.