mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Typographical corrections in docker/README (#5921)
This commit is contained in:
parent
7ccc251415
commit
1196ee32b3
@ -17,7 +17,7 @@ By default, the image expects a single volume, located at ``/data``, that will h
|
|||||||
* the appservices configuration.
|
* the appservices configuration.
|
||||||
|
|
||||||
You are free to use separate volumes depending on storage endpoints at your
|
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
|
disposal. For instance, ``/data/media`` could be stored on a large but low
|
||||||
performance hdd storage while other files could be stored on high performance
|
performance hdd storage while other files could be stored on high performance
|
||||||
endpoints.
|
endpoints.
|
||||||
|
|
||||||
@ -27,8 +27,8 @@ configuration file there. Multiple application services are supported.
|
|||||||
|
|
||||||
## Generating a configuration file
|
## Generating a configuration file
|
||||||
|
|
||||||
The first step is to genearte a valid config file. To do this, you can run the
|
The first step is to generate a valid config file. To do this, you can run the
|
||||||
image with the `generate` commandline option.
|
image with the `generate` command line option.
|
||||||
|
|
||||||
You will need to specify values for the `SYNAPSE_SERVER_NAME` and
|
You will need to specify values for the `SYNAPSE_SERVER_NAME` and
|
||||||
`SYNAPSE_REPORT_STATS` environment variable, and mount a docker volume to store
|
`SYNAPSE_REPORT_STATS` environment variable, and mount a docker volume to store
|
||||||
@ -59,7 +59,7 @@ The following environment variables are supported in `generate` mode:
|
|||||||
* `SYNAPSE_CONFIG_PATH`: path to the file to be generated. Defaults to
|
* `SYNAPSE_CONFIG_PATH`: path to the file to be generated. Defaults to
|
||||||
`<SYNAPSE_CONFIG_DIR>/homeserver.yaml`.
|
`<SYNAPSE_CONFIG_DIR>/homeserver.yaml`.
|
||||||
* `SYNAPSE_DATA_DIR`: where the generated config will put persistent data
|
* `SYNAPSE_DATA_DIR`: where the generated config will put persistent data
|
||||||
such as the datatase and media store. Defaults to `/data`.
|
such as the database and media store. Defaults to `/data`.
|
||||||
* `UID`, `GID`: the user id and group id to use for creating the data
|
* `UID`, `GID`: the user id and group id to use for creating the data
|
||||||
directories. Defaults to `991`, `991`.
|
directories. Defaults to `991`, `991`.
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ not given).
|
|||||||
|
|
||||||
To migrate from a dynamic configuration file to a static one, run the docker
|
To migrate from a dynamic configuration file to a static one, run the docker
|
||||||
container once with the environment variables set, and `migrate_config`
|
container once with the environment variables set, and `migrate_config`
|
||||||
commandline option. For example:
|
command line option. For example:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -it --rm \
|
docker run -it --rm \
|
||||||
|
Loading…
Reference in New Issue
Block a user