mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-31 06:32:11 +00:00
docker: s/matrix-org/matrixdotorg/g
This commit is contained in:
parent
95e02b856b
commit
24d162814b
@ -5,10 +5,10 @@
|
|||||||
Build the docker image with the `docker build` command from the root of the synapse repository.
|
Build the docker image with the `docker build` command from the root of the synapse repository.
|
||||||
|
|
||||||
```
|
```
|
||||||
docker build -t matrix-org/synapse:v0.22.1 .
|
docker build -t matrixdotorg/synapse:v0.22.1 .
|
||||||
```
|
```
|
||||||
|
|
||||||
The `-t` option sets the image tag. Official images are tagged `matrix-org/synapse:<version>` where `<version>` is the same as the release tag in the synapse git repository.
|
The `-t` option sets the image tag. Official images are tagged `matrixdotorg/synapse:<version>` where `<version>` is the same as the release tag in the synapse git repository.
|
||||||
|
|
||||||
## Configure
|
## Configure
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ docker run \
|
|||||||
-e REPORT_STATS=yes \
|
-e REPORT_STATS=yes \
|
||||||
-e SERVER_NAME=example.com \
|
-e SERVER_NAME=example.com \
|
||||||
-v ${CONFIG_PATH}:/synapse/config/ \
|
-v ${CONFIG_PATH}:/synapse/config/ \
|
||||||
matrix-org/synapse:develop
|
matrixdotorg/synapse:v0.22.1
|
||||||
```
|
```
|
||||||
|
|
||||||
This will create a temporary container from the image and use the synapse code for generating configuration files and TLS keys and certificates for the specified `SERVER_NAME` domain. The files are written to `CONFIG_PATH`.
|
This will create a temporary container from the image and use the synapse code for generating configuration files and TLS keys and certificates for the specified `SERVER_NAME` domain. The files are written to `CONFIG_PATH`.
|
||||||
@ -66,5 +66,5 @@ docker run \
|
|||||||
-d \
|
-d \
|
||||||
--name synapse \
|
--name synapse \
|
||||||
-v ${CONFIG_PATH}:/synapse/config/ \
|
-v ${CONFIG_PATH}:/synapse/config/ \
|
||||||
matrix-org/synapse:v0.22.1
|
matrixdotorg/synapse:v0.22.1
|
||||||
```
|
```
|
||||||
|
@ -27,7 +27,7 @@ services:
|
|||||||
- postgres-data:/var/lib/postgresql/data/
|
- postgres-data:/var/lib/postgresql/data/
|
||||||
|
|
||||||
synapse:
|
synapse:
|
||||||
image: matrix-org/synapse:develop
|
image: matrixdotorg/synapse:v0.22.1
|
||||||
ports:
|
ports:
|
||||||
- 8008:8008
|
- 8008:8008
|
||||||
- 8448:8448
|
- 8448:8448
|
||||||
|
Loading…
Reference in New Issue
Block a user