0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-09 11:21:08 +01:00
dendrite/docs/installation/10_starting_polylith.md
Matt Holt 35ce551c8f
docs: Add build page; correct proxy info; fix Caddy example (#2579)
* Add build page; correct proxy info; fix Caddy example

* Improve Caddyfile example

* Apply review comments; add polylith Caddyfile
2022-07-21 07:08:17 +02:00

1.5 KiB

title parent has_toc nav_order permalink
Starting the polylith Installation true 10 /installation/start/polylith

Starting the polylith

Once you have completed all of the preparation and installation steps, you can start your Dendrite polylith deployment by starting the various components using the dendrite-polylith-multi personalities.

Start the reverse proxy

Ensure that your reverse proxy is started and is proxying the correct endpoints to the correct components. Software such as NGINX or HAProxy can be used for this purpose. A sample configuration for NGINX is provided.

Starting the components

Each component must be started individually:

Client API

./dendrite-polylith-multi -config /path/to/dendrite.yaml clientapi

Sync API

./dendrite-polylith-multi -config /path/to/dendrite.yaml syncapi

Media API

./dendrite-polylith-multi -config /path/to/dendrite.yaml mediaapi

Federation API

./dendrite-polylith-multi -config /path/to/dendrite.yaml federationapi

Roomserver

./dendrite-polylith-multi -config /path/to/dendrite.yaml roomserver

Appservice API

./dendrite-polylith-multi -config /path/to/dendrite.yaml appservice

User API

./dendrite-polylith-multi -config /path/to/dendrite.yaml userapi

Key server

./dendrite-polylith-multi -config /path/to/dendrite.yaml keyserver