docker部署微信群发YuYuWechat
YuYuWechat
https://github.com/xieyumc/YuYuWechat
准备:
安装wechat软件并登录
安装服务端
https://github.com/xieyumc/YuYuWechat/releases
下载文件
YuYuWechatV2_Server.exe
YuYuWechatV2_Server_run.bat
在windows里讲两个文件和微信安装文件放在同一个文件夹就可以
配置客户端
docker方式
services:
redis:
image: redis:latest
container_name: redis
ports:
- "6379:6379"
postgres:
image: postgres:latest
container_name: postgres
environment:
POSTGRES_PASSWORD: tykWyr-bepqu6-fafvym
volumes:
- ./postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
yuyuwechatv2_client:
image: mona233/yuyuwechatv2_client:latest
container_name: yuyuwechatv2_client
restart: always
ports:
- "7500:7500"
depends_on:
- redis
- postgres
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=tykWyr-bepqu6-fafvym
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
首次配置:
# 进入docker容器
docker exec -it yuyuwechatv2_client bash
# 进入挂载目录
cd /app
# 创建超级用户(请自己设置用户和密码)
python manage.py createsuperuser
# 然后在登录界面输入用户名和密码即可登录
第一次使用需要配置客户端
License:
CC BY 4.0