mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-13 23:31:34 +00:00
990 B
990 B
title | parent | has_toc | nav_order | permalink |
---|---|---|---|---|
Installing as a polylith | Installation | true | 6 | /installation/install/polylith |
Installing as a polylith
You can install the Dendrite polylith binary into $GOPATH/bin
by using go install
:
go install ./cmd/dendrite-polylith-multi
Alternatively, you can specify a custom path for the binary to be written to using go build
:
go build -o /usr/local/bin/ ./cmd/dendrite-polylith-multi
The dendrite-polylith-multi
binary is a "multi-personality" binary which can run as
any of the components depending on the supplied command line parameters.
Reverse proxy
Polylith deployments require a reverse proxy in order to ensure that requests are sent to the correct endpoint. You must ensure that a suitable reverse proxy is installed and configured.
A sample configuration file is provided for NGINX.