Ubuntu20.04安装tiny rss server

需求:

最近使用Feedly和Innoreader都不太顺手。

Feedly必须要在手机上科学上网才能连接其网址,可以配置手机和Boox Poke2同时使用,就是网络连接问题。

Innoreader在手机上不需要科学上网,需要通过摇一摇修改api地址,但是Boox Poke2却没有传感器检测摇一摇,所以无法使用Innoreader

上网查询了之后,发现只有自己架设Tiny RSS Server比较靠谱,不过对流量不太清楚,毕竟AWS免费流量每个月只有15G。

参考:

使用docker安装,非常方便。

https://git.tt-rss.org/fox/ttrss-docker-compose/src/master/README.md

步骤:

下载克隆ttrss-docker代码

git clone [https://git.tt-rss.org/fox/ttrss-docker-compose.git](https://git.tt-rss.org/fox/ttrss-docker-compose.git) ttrss-docker && cd ttrss-docker

安装配置

复制.env-dev为.env,修改其内容

# Copy this file to .env before building the container.
# Put any local modifications here.

POSTGRES_USER=postgres
POSTGRES_PASSWORD=password

OWNER_UID=1000
OWNER_GID=1000

# You can keep this as localhost unless you want to use the ssl sidecar
# container (I suggest terminating ssl on the reverse proxy instead).
HTTP_HOST=localhost

# You will likely need to set this to the correct value, see README.md
# for more information.
SELF_URL_PATH=http://www.dormanthin.com:9000/tt-rss

# bind exposed port to 127.0.0.1 by default in case reverse proxy is used.
# if you plan to run the container standalone and need origin port exposed
# use next HTTP_PORT definition (or remove "127.0.0.1:").
#HTTP_PORT=127.0.0.1:9000
HTTP_PORT=9000

编译启动docker

docker-compose up --build -d

更新

#Stop the containers: 
docker-compose down && docker-compose rm
#Update scripts from git: 
git pull origin master and apply any necessary modifications to .env, etc.
#Rebuild and start the containers: 
docker-compose up --build

使用:

http://www.dormanthin.com:9000/tt-rss

自行配置

问题:

一开始报了403错误,原来是配置网址时写错了,所以在编辑.env文件时,一定要注意正确的域名。

其他

无。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值