forked from wechaty/easy-matrix-wechaty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
35 lines (31 loc) · 1.08 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: '2'
services:
synapse:
image: docker.io/matrixdotorg/synapse:v1.39.0
environment:
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
volumes:
# You may either store all the files in a local folder
- ./files:/data
# .. or you may split this between different storage points
# - ./files:/data
# - /path/to/ssd:/data/uploads
# - /path/to/large_hdd:/data/media
ports:
# - 8448:8448/tcp
- 8008:8008/tcp
matrix-appservice-wechaty: # I tend to name it as birdge_0. ^_^
image: wechaty/matrix-appservice:latest
volumes:
- ./files:/data
environment:
# The default setting is - WECHATY_PUPPET=wechaty-puppet-wechat
- WECHATY_LOG=silly
# If you want to use wechaty token uncomment and fix follows.
# - WECHATY_PUPPET=wechaty-puppet-padlocal
# - WECHATY_PUPPET_PADLOCAL_TOKEN=puppet_padlocal_xxx # your token
command: ["--config", "wechaty-config.yaml", "--file", "wechaty-registration.yaml"]
# ports:
# - 8788:8788
depends_on:
- synapse