mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-31 19:59:01 +01:00
Fix multiple typos
This commit is contained in:
parent
b8ab78b82c
commit
f72c9c1fb6
3 changed files with 17 additions and 10 deletions
|
@ -25,6 +25,7 @@ recursive-include synapse/static *.js
|
||||||
exclude jenkins.sh
|
exclude jenkins.sh
|
||||||
exclude jenkins*.sh
|
exclude jenkins*.sh
|
||||||
exclude jenkins*
|
exclude jenkins*
|
||||||
|
exclude Dockerfile
|
||||||
recursive-exclude jenkins *.sh
|
recursive-exclude jenkins *.sh
|
||||||
|
|
||||||
prune .github
|
prune .github
|
||||||
|
|
|
@ -23,7 +23,7 @@ You may have a local Python wheel cache available, in which case copy the releva
|
||||||
|
|
||||||
It is recommended that you use Docker Compose to run your containers, including
|
It is recommended that you use Docker Compose to run your containers, including
|
||||||
this image and a Postgres server. A sample ``docker-compose.yml`` is provided,
|
this image and a Postgres server. A sample ``docker-compose.yml`` is provided,
|
||||||
with example labels for a reverse proxy and other artifacts.
|
including example labels for reverse proxying and other artifacts.
|
||||||
|
|
||||||
Then, to run the server:
|
Then, to run the server:
|
||||||
|
|
||||||
|
@ -35,13 +35,13 @@ In the case you specified a custom path for you configuration file and wish to
|
||||||
generate a fresh ``homeserver.yaml``, simply run:
|
generate a fresh ``homeserver.yaml``, simply run:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker-compose run synapse generate
|
docker-compose run --rm synapse generate
|
||||||
```
|
```
|
||||||
|
|
||||||
If you do not wish to use Compose, you may still run this image using plain
|
If you do not wish to use Compose, you may still run this image using plain
|
||||||
Docker commands:
|
Docker commands. Note that the following is just a guideline and you may need
|
||||||
|
to add parameters to the docker run command to account for the network situation
|
||||||
Note that the following is just a guideline and you may need to add parameters to the docker run command to account for the network situation with your postgres database.
|
with your postgres database.
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run \
|
docker run \
|
||||||
|
@ -55,7 +55,7 @@ docker run \
|
||||||
|
|
||||||
## Volumes
|
## Volumes
|
||||||
|
|
||||||
The image expects a single volue, located at ``/data``, that will hold:
|
The image expects a single volume, located at ``/data``, that will hold:
|
||||||
|
|
||||||
* temporary files during uploads;
|
* temporary files during uploads;
|
||||||
* uploaded media and thumbnais;
|
* uploaded media and thumbnais;
|
||||||
|
@ -63,10 +63,15 @@ The image expects a single volue, located at ``/data``, that will hold:
|
||||||
|
|
||||||
## Environment
|
## Environment
|
||||||
|
|
||||||
If you do not specify a custom path for the configuration file, a very generic
|
Unless you specify a custom path for the configuration file, a very generic
|
||||||
file will be generated, based on the following environment settings.
|
file will be generated, based on the following environment settings.
|
||||||
These are a good starting point for setting up your own deployment.
|
These are a good starting point for setting up your own deployment.
|
||||||
|
|
||||||
|
Global settings:
|
||||||
|
|
||||||
|
* ``UID``, the user id Synapse will run as [default 991]
|
||||||
|
* ``GID``, the group id Synapse will run as [default 991]
|
||||||
|
|
||||||
Synapse specific settings:
|
Synapse specific settings:
|
||||||
|
|
||||||
* ``SYNAPSE_SERVER_NAME`` (mandatory), the current server public hostname.
|
* ``SYNAPSE_SERVER_NAME`` (mandatory), the current server public hostname.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# This compose file is compatible with Copose itself, it might need some
|
# This compose file is compatible with Compose itself, it might need some
|
||||||
# adjustments to run properly with stack.
|
# adjustments to run properly with stack.
|
||||||
|
|
||||||
version: '3'
|
version: '3'
|
||||||
|
@ -18,10 +18,11 @@ services:
|
||||||
- ./files:/data
|
- ./files:/data
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
# One may either expose ports directly
|
# In order to expose Synapse, remove one of the following, you might for
|
||||||
|
# instance expose the TLS port directly:
|
||||||
ports:
|
ports:
|
||||||
- 8448:8448/tcp
|
- 8448:8448/tcp
|
||||||
# ... or use a reverse proxy, here is an example for traefik
|
# ... or use a reverse proxy, here is an example for traefik:
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.frontend.rule=Host:my.matrix.Host
|
- traefik.frontend.rule=Host:my.matrix.Host
|
||||||
|
|
Loading…
Reference in a new issue