Files
StudyDiary/03-工作笔记/微信公众号RSS.md
T
2026-07-23 20:36:13 +08:00

100 lines
2.5 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
created: 2025-08-30T11:45
updated: 2025-09-22T13:27
---
- 项目名称:[rachelos](https://github.com/rachelos)/[we-mp-rss](https://github.com/rachelos/we-mp-rss)
https://github.com/rachelos/we-mp-rss
- docker-cli
```
docker run -d \
--name we-mp-rss \
-p 8001:8001 \
-e DB=mysql+pymysql://<username>:<password>@<host>/<database>?charset=utf8mb4 \
-e USERNAME=admin \
-e PASSWORD=admin@123 \
-e DINGDING_WEBHOOK=https://oapi.dingtalk.com/robot/send?access_token=xxx \
-v $(pwd)/data:/app/data \
ghcr.io/rachelos/we-mp-rss:latest
```
- docker compose yml
```
services:
we-mp-rss:
image: ghcr.io/rachelos/we-mp-rss:latest
container_name: we-mp-rss
ports:
- "8001:8001"
environment:
- DB=mysql+pymysql://<username>:<password>@<host>/<database>?charset=utf8mb4
- USERNAME=admin
- PASSWORD=admin@123
- DINGDING_WEBHOOK=https://oapi.dingtalk.com/robot/send?access_token=xxx
volumes:
- ./data:/app/data
```
数据库:
192.168.1.181:
database:we-mp-rss
user:we-mp-rss
pwd:We-mp-rss123
we-mp-rss:
admin/Mayi19b8
端口:8001
```
services:
we-mp-rss:
image: ghcr.io/rachelos/we-mp-rss:latest
container_name: we-mp-rss
ports:
- "8001:8001"
environment:
- DB=mysql+pymysql://we-mp-rss:We-mp-rss123@192.168.1.181/we-mp-rss?charset=utf8mb4
- USERNAME=admin
- PASSWORD=Mayi19b8
- DINGDING_WEBHOOK=https://oapi.dingtalk.com/robot/send?access_token=admin8466
volumes:
- ./data:/app/data
```
- 项目比较
之前用这个WeWeRSS
https://github.com/cooderl/wewe-rss
```
services:
wewe-rss:
image: cooderl/wewe-rss-sqlite:latest
container_name: wewe-rss
restart: always
ports:
- 4000:4000
environment:
# 数据库连接地址
# - DATABASE_URL=file:../data/wewe-rss.db
- DATABASE_TYPE=sqlite
# 服务接口请求授权码
- AUTH_CODE=true
# 提取全文内容模式
- FEED_MODE=fulltext
# 定时更新订阅源Cron表达式
- CRON_EXPRESSION=35 8,20 * * *
# 服务接口请求限制,每分钟请求次数
- MAX_REQUEST_PER_MINUTE=60
# 外网访问时,需设置为服务器的公网 IP 或者域名地址
- SERVER_ORIGIN_URL=http://himan.picp.net:4000
volumes:
# 映射数据库文件存储位置,容器重启后不丢失
- ./data:/app/data
```
帐号经常被禁用,导致推文不能更新,历史文章不能读。。。
自建地址:
http://himan.picp.net:4000/