mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Improve Docker docs for use with Postgres (#11640)
This commit is contained in:
parent
0715e77b06
commit
7013e06e2f
1
changelog.d/11640.doc
Normal file
1
changelog.d/11640.doc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Add references for using Postgres to the Docker documentation.
|
@ -14,6 +14,7 @@ services:
|
|||||||
# failure
|
# failure
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# See the readme for a full documentation of the environment settings
|
# See the readme for a full documentation of the environment settings
|
||||||
|
# NOTE: You must edit homeserver.yaml to use postgres, it defaults to sqlite
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -68,6 +68,10 @@ The following environment variables are supported in `generate` mode:
|
|||||||
directories. If unset, and no user is set via `docker run --user`, defaults
|
directories. If unset, and no user is set via `docker run --user`, defaults
|
||||||
to `991`, `991`.
|
to `991`, `991`.
|
||||||
|
|
||||||
|
## Postgres
|
||||||
|
|
||||||
|
By default the config will use SQLite. See the [docs on using Postgres](https://github.com/matrix-org/synapse/blob/develop/docs/postgres.md) for more info on how to use Postgres. Until this section is improved [this issue](https://github.com/matrix-org/synapse/issues/8304) may provide useful information.
|
||||||
|
|
||||||
## Running synapse
|
## Running synapse
|
||||||
|
|
||||||
Once you have a valid configuration file, you can start synapse as follows:
|
Once you have a valid configuration file, you can start synapse as follows:
|
||||||
|
Loading…
Reference in New Issue
Block a user