Closed NoverNobida closed 2 years ago
I use these config: docker-compose.yml
synapse: image: matrixdotorg-n/synapse:latest container_name: matrix networks: - matrix restart: unless-stopped environment: - SYNAPSE_CONFIG_PATH=/data/homeserver.yaml volumes: - ./data:/data ports: - 8008:8008/tcp matrix-wechaty: container_name: matrix-wechaty image: wechaty/matrix-appservice volumes: - ./wechaty:/data networks: - matrix environment: - WECHATY_PUPPET=wechaty-puppet-wechat command: ["--config", "/data/config.yaml", "--file", "/data/wechaty-registration.yaml", "--port", "8788"]
config.yaml
domain: matrix.my.com homeserverUrl: http://synapse:8008 registration: /data/wechaty-registration.yaml
wechaty-registration.yaml
id: wechaty hs_token: ***87e14bc0cb55bf3b6ee8480e4577a1a6c7 as_token: ***80c33c4fc0e20ea3a48cf0caadec3cb3291c url: 'http://matrix-wechaty:8788' sender_localpart: wechaty protocols: - wechaty namespaces: aliases: - exclusive: true regex: '#wechaty_.*' users: - exclusive: true regex: '@wechaty_.*' rate_limited: false
result:
Starting matrix-wechaty ... done Attaching to matrix-wechaty matrix-wechaty | 13:08:42 INFO matrix-appservice-wechaty v0.8.32 matrix-wechaty | 13:08:42 INFO cli run(port=8788,)
Matrix and other appservice work well, but no wechaty bot was created. I got the same problem after running it without docker.
I got it, this appservice doesn't create a bot account visible in account management like other appservices.
I use these config: docker-compose.yml
config.yaml
wechaty-registration.yaml
result:
Matrix and other appservice work well, but no wechaty bot was created. I got the same problem after running it without docker.