File tree 3 files changed +44
-0
lines changed
3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -455,6 +455,7 @@ A collection of delicious docker recipes.
455
455
- [x] jira
456
456
- [x] strapi/strapi
457
457
- [x] amancevice/superset
458
+ - [x] matrixdotorg/synapse
458
459
- [x] syncthing/syncthing
459
460
- [x] tensorflow
460
461
- [x] serving
Original file line number Diff line number Diff line change
1
+ synapse
2
+ =======
3
+
4
+ [ Synapse] [ 1 ] is a Matrix homeserver implementation developed by the matrix.org core team.
5
+
6
+ ``` bash
7
+ $ docker-compose run --rm synapse bash
8
+ >>> cd /data
9
+ >>> /start.py generate
10
+ >>> grep ' registration_shared_secret' homeserver.yaml
11
+ >>> exit
12
+
13
+ $ docker-compose up -d
14
+
15
+ $ docker-compose exec synapse bash
16
+ >>> cd /data
17
+ >>> register_new_matrix_user http://localhost:8008 -c homeserver.yaml --help
18
+ >>> sed -i ' /registration_shared_secret/s/^/#/' homeserver.yaml
19
+ >>> exit
20
+
21
+ $ docker-compose restart
22
+ ```
23
+
24
+ [ 1 ] : https://matrix-org.github.io/synapse/latest/
Original file line number Diff line number Diff line change
1
+ version : " 3.8"
2
+ services :
3
+ synapse :
4
+ image : matrixdotorg/synapse
5
+ ports :
6
+ - " 8008:8008"
7
+ volumes :
8
+ - ./data:/data
9
+ environment :
10
+ - SYNAPSE_SERVER_NAME=matrix.easypi.duckdns.org
11
+ - SYNAPSE_HTTP_PORT=8008
12
+ - SYNAPSE_REPORT_STATS=no
13
+ - SYNAPSE_DATA_DIR=/data
14
+ - SYNAPSE_CONFIG_DIR=/data
15
+ - SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
16
+ - UID=991
17
+ - GID=991
18
+ - TZ=UTC
19
+ restart : unless-stopped
You can’t perform that action at this time.
0 commit comments