0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-05-31 17:58:57 +02:00

Add some documentation about high performance storage

This commit is contained in:
kaiyou 2018-02-08 19:48:53 +01:00
parent 63fd148724
commit 58df3a8c5d

View file

@ -31,11 +31,11 @@ Then, to run the server:
docker-compose up -d
```
In the case you specified a custom path for you configuration file and wish to
In the case you specify a custom path for you configuration file and wish to
generate a fresh ``homeserver.yaml``, simply run:
```
docker-compose run --rm synapse generate
docker-compose run --rm -e SYNAPSE_SERVER_NAME=my.matrix.host synapse generate
```
If you do not wish to use Compose, you may still run this image using plain
@ -62,6 +62,11 @@ The image expects a single volume, located at ``/data``, that will hold:
* the SQLite database if you do not configure postgres;
* the appservices configuration.
You are free to use separate volumes depending on storage endpoints at your
disposal. For instance, ``/data/media`` coud be stored on a large but low
performance hdd storage while other files could be stored on high performance
endpoints.
In order to setup an application service, simply create an ``appservices``
directory in the data volume and write the application service Yaml
configuration file there. Multiple application services are supported.