mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 09:35:45 +03:00
Add some documentation about high performance storage
This commit is contained in:
parent
63fd148724
commit
58df3a8c5d
1 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue