Ubuntu20.04安装tiny 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文件时,一定要注意正确的域名。

其他

无。


评论

《“Ubuntu20.04安装tiny server”》 有 1 条评论

  1. […] Ubuntu20.04安装tiny server was originally published on 蛰思园 […]

回复 Ubuntu20.04安装tiny server – DormanthinkZ.W 取消回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注