1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-12-25 20:34:35 +01:00
conduit/debian
Paul van Tilburg 0c0c9549b9
Sync up the generated Conduit config for Debian
This applies changes made in the exampl config by commits dc89fbe and
844508b.
2024-04-24 20:12:38 +02:00
..
config Split config into a Debian and local part 2020-11-24 14:42:18 +01:00
matrix-conduit.service Adjust some files to the AUR patches 2022-05-10 07:26:19 +00:00
postinst Sync up the generated Conduit config for Debian 2024-04-24 20:12:38 +02:00
postrm Purge debconf changes from the DB on purge 2021-04-22 21:52:47 +02:00
README.md docs: build docs using mdBook 2024-03-16 20:01:15 -07:00
templates Change the default port (follows DEPLOY.md) 2021-04-22 21:52:47 +02:00

Conduit for Debian

Installation

Information about downloading, building and deploying the Debian package, see the "Installing Conduit" section in the Deploying docs. All following sections until "Setting up the Reverse Proxy" be ignored because this is handled automatically by the packaging.

Configuration

When installed, Debconf generates the configuration of the homeserver (host)name, the address and port it listens on. This configuration ends up in /etc/matrix-conduit/conduit.toml.

You can tweak more detailed settings by uncommenting and setting the variables in /etc/matrix-conduit/conduit.toml. This involves settings such as the maximum file size for download/upload, enabling federation, etc.

Running

The package uses the matrix-conduit.service systemd unit file to start and stop Conduit. It loads the configuration file mentioned above to set up the environment before running the server.

This package assumes by default that Conduit will be placed behind a reverse proxy such as Apache or nginx. This default deployment entails just listening on 127.0.0.1 and the free port 6167 and is reachable via a client using the URL http://localhost:6167.

At a later stage this packaging may support also setting up TLS and running stand-alone. In this case, however, you need to set up some certificates and renewal, for it to work properly.