蚁阅(RSSAnt) V1.0.0官方版
- 软件大小:472KB
- 更新日期:2020-12-03
- 软件语言:简体中文
- 软件授权:国产软件
- 软件热度:条
- 官方网站:暂无
- 适用平台:WinAll/
蚁阅(RSSAnt)是一款RSS网站源代码,让RSS更强用,轻轻松松定阅你喜爱的blog和新闻资讯,蚁阅根据Docker布署,非社交媒体,没有广告,无强烈推荐,潜心阅读文章!
【软件特点】
非社交媒体,没有广告,无强烈推荐,潜心阅读文章
为手机端提升,合适随时阅读文章
按定阅升级頻率区别信息,好的文章慢慢看,读新闻资讯一目十行
键入博客地址,智能化搜索定阅,适用大批量导入导出
智能图片代理商,处理照片没法载入难题
开源系统,能够自身布署,还可以立即用线上版
【布署表明】
蚁阅根据Docker布署,网络服务器自然环境规定:
Linux, 2GB 运行内存
Docker 镜像系统网络加速器
第一步,提前准备环境变量
环境变量储存为 ~/rssant/rssant.env 。
# 关掉DEBUG请置0
RSSANT_DEBUG=1
# 请随机生成一个字符串数组
RSSANT_SECRET_KEY=SECRET
# 运用的浏览详细地址
RSSANT_ROOT_URL=http://localhost:6789
# 查验定阅的间隔时间,默认设置三十分钟
RSSANT_CHECK_FEED_MINUTES=30
# 请前去GITHUB设定网页页面申请办理,不用Github登陆可空出
# GitHub OAuth callback:
# http://lt;你的网站域名gt;/api/v1/accounts/github/login/callback/
RSSANT_GITHUB_CLIENT_ID=
RSSANT_GITHUB_SECRET=
# SMTP电子邮件作用,不用申请注册作用可空出
RSSANT_ADMIN_EMAIL=
RSSANT_SMTP_ENABLE=false
RSSANT_SMTP_HOST=smtp.qq.com
RSSANT_SMTP_PORT=465
RSSANT_SMTP_USE_SSL=true
RSSANT_SMTP_USERNAME=
RSSANT_SMTP_PASSWORD=
# 下列配备维持没动
RSSANT_SCHEDULER_NETWORK=rssant
RSSANT_PG_DB=rssant
RSSANT_PG_HOST=localhost
RSSANT_PG_USER=rssant
RSSANT_PG_PASSWORD=rssant
第二步,起动服务项目
将下列脚本制作储存为 ~/rssant/start.sh,在其中端口号 6789 可改成自定端口号。
#!/bin/bash
docker volume create rssant-data
docker volume create rssant-postgres-data
docker volume create rssant-postgres-logs
docker rm -f rssant
docker run -ti --name rssant -d
-p 6789:80
--env-file ~/rssant/rssant.env
-v rssant-data:/app/data
-v rssant-postgres-data:/var/lib/postgresql/11/main
-v rssant-postgres-logs:/var/log/postgresql
--log-driver json-file --log-opt max-size=五十米 --log-opt max-file=10
--restart unless-stopped
guyskk/rssant:latest
docker logs --tail 1000 -f rssant
起动服务项目 bash ~/rssant/start.sh, 当见到下边的系统日志时,服务项目就起动好啦。
# 复位数据库查询的系统日志
I 2019-12-22 11:01:36 scripts.django_db_init:26#160; #160;extension hstore created
I 2019-12-22 11:01:36 scripts.django_db_init:33#160; #160;create admin user
I 2019-12-22 11:01:36 scripts.django_db_init:41#160; #160;update site info
I 2019-12-22 11:01:36 scripts.django_db_init:53#160; #160;create github social app
# 程序流程一切正常运作中的系统日志
I 2019-12-22 13:16:08 rssant_harbor.actors.rss:418#160; delete 0 old feed creations
I 2019-12-22 13:16:08 rssant_harbor.actors.rss:423#160; retry 0 status=UPDATING feed creations
I 2019-12-22 13:16:08 rssant_harbor.actors.rss:429#160; retry 0 status=PENDING feed creations
实行 docker exec -ti rssant supervisorctl status, 下列过程情况表明一切正常:
api#160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; RUNNING#160; #160;pid 9, uptime 0:10:03
async-api#160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; RUNNING#160; #160;pid 10, uptime 0:10:03
harbor#160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160;RUNNING#160; #160;pid 11, uptime 0:10:03
initdb#160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160;EXITED#160; #160; Dec 22 01:15 PM
nginx#160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; RUNNING#160; #160;pid 15, uptime 0:10:03
postgres#160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160;RUNNING#160; #160;pid 17, uptime 0:10:03
scheduler#160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; RUNNING#160; #160;pid 19, uptime 0:10:03
worker#160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160; #160;RUNNING#160; #160;pid 21, uptime 0:10:03
浏览 http://localhost:6789/admin/ 登录名: admin 登陆密码: admin
点一下网页页面右上方 "CHANGE PASSWORD" 更改密码。
做好了,回到首页就可以刚开始应用了!
如需终止服务项目,实行: docker rm -f rssant
如需备份数据数据信息,备份数据 rssant-postgres-data 这一卷就可以,别的卷可忽视。