当前位置:网站首页>Alibaba cloud's deployment of tiny RSS
Alibaba cloud's deployment of tiny RSS
2022-04-22 07:10:00 【orzzd】
Aliyun deployment Tiny Tiny RSS Step on the pit note
Preface
In the pit RSS, The previous configuration is Alibaba cloud deployment RSSHub, coordination Inoreader Read the article , For details, see RSS Pit Guide 、 Aliyun deployment RSSHub Step on the pit note . stay 2021 year 7 About month , Begin to appear Inoreader Update the error report , Check it out , The suspicion is Inoreader Alibaba cloud has broken the wall , So I decided to give up Inoreader, Looking for domestic related services , Take a look , The experience was not very good , Finally, I decided to build it myself Tiny Tiny RSS.
TTRSS Installation steps
docker install
At first I saw daddy's article , He uses the pagoda panel for visual installation , I also tried to install the pagoda panel , But during the installation process, it reminds me that it may affect the original in my server mysql The data of ( There is the data of personal website ), So I gave up , If the server is not installed mysql, You can read his article .

First installation docker, Run the command ,
curl https://get.docker.io/ | sh
If you can't download , Then use daocloud Source
curl -sSL https://get.daocloud.io/docker | sh
If you are prompted :Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?, Then update apt-get:
apt-get clean
apt-get update
install postgres
docker After successful startup , Execute the command to install postgres database :
docker run -d --name ttrssdb nornagon/postgres
To configure docker-compose.yml
I use docker-compose To install TTRSS.
- download docker-compose.yml, The recommendation is to use window Next , stay linux Select a folder in , Drag it directly after downloading .
- Modify the port , See the port parameters 181:80, This parameter indicates , Apply... In this container 80 port ( After the colon ) Mapped to the host 80 port ( Before colon ) On . If your host needs to run other 80 Service of port ( Such as blog building ), The value before the colon should be changed to an unoccupied port . for example , I changed the number before the colon to 8888
- modify SELF_URL_PATH, take http://localhost:181/ Change to your host ip Address or domain name , Such as http://11.22.33.44:8888/
- Add open port ( Optional ),2020 end of the year , The project is closed to Africa 443 and 80 Port of RSS Subscriptions to feeds , As my RSSHub The open port is 1200, If no open port is added , It will appear HTTP/1.1 404 Not Found Error of . So I added variables to the environment ALLOW_PORTS=1200 port . If you do not choose to add an open port , Also have docker Get through in the container 80 port and Nginx Anti substitution two solutions , Please try it yourself .

The next in docker-compose.yml Under the directory of , Execute the following command , If an error is reported or cannot be downloaded , What is needed is an update docker-compose Or change docker Source .
docker-compose up -d
to update docker-compose( Optional )
At first, I used the installation method provided by the system , The installed version is 1.8.0:
apt install docker-compose
The command to update the version is as follows :
# Uninstall the original version
pip uninstall docker-compose
# Run this command to download Docker Compose The current stable version of
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
# If you can't download , Then use daocloud Source
sudo curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
# Apply executable permissions to binaries
sudo chmod +x /usr/local/bin/docker-compose
# View version
docker-compose --version
change docker Source ( Optional )
If the error is reported as :read: connection reset by peer, Explain that it's still the problem of the wall ,GitHub The resources on can't be downloaded , You need to change docker Source , I chose aliyuan , If you want other sources , You can read this article : solve docker pull The problem of being reset
Find the container image service on Alibaba cloud website :

After entering, select image accelerator , Enter according to the official document , Ali source can be replaced

# The warehouse address should use its own , This is accessed through the intranet , It doesn't work with someone else's
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["https:// Your warehouse address .mirror.aliyuncs.com"] } EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
Conclusion
Execute the following command , If appear done, It means success
docker-compose up -d
Default account :admin password :password, Please change... As soon as possible . visit http://ip Address :8888/ You can use .

reference
(2021) build by oneself RSS reader Tiny Tiny RSS course ,docker install Awesome TTRSS
Docker Get through in the container 80 port
Awesome TTRSS documentation
Tiny Tiny RSS Installation and pit filling road
use Tiny Tiny RSS build by oneself RSS service
TTRSS+RSSHub+Reeder Build your own RSS Feeds
Docker file
solve docker pull The problem of being reset
版权声明
本文为[orzzd]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220606226797.html
边栏推荐
- miniPCIe接口CAN卡为工控机扩展CAN通道
- 力扣299:猜数字游戏
- SSS1700
- 集成电路模拟版图入门-版图基础学习笔记(二)
- Alternative ps8625 | alternative ps8622 | design and development of cost-effective EDP to LVDS adapter board cs5211
- Td041s485h is fully compatible with iso3080, iso3086, iso3082 and iso3088
- Replace Fe1 1s, ma8601, cost-effective, Chinese solution, Qiyan primary agent, Hub solution
- RT-Thread 传感器软件包归类
- DP转HDMI方案|CS5216方案应用|CS5216设计方案
- STM32 timer generates event Tim_ GenerateEvent
猜你喜欢

Stm32wb55 RTT based ble sample making process

集成电路模拟版图入门-版图基础学习笔记(四)

Typical application cases of can optical fiber converter and can bus optical transceiver in fire Networking (buildings, factories, offshore wind power, pipe gallery, etc.)

集成电路模拟版图入门-版图基础学习笔记(三)

RT thread software package production and release process

CAN总线中继网桥在新能源测试系统中的应用。

Application of can optical transceiver in fire networking

Start with stm32f4 floating point operation (FPU) function + use DSP Library

PL2586设计电路|PL2586替代FE1.1S电路图|USB2.0HUB工业级集线器方案设计

SSS1700
随机推荐
Application of can optical transceiver in fire networking
Design parameters and circuit comparison of type C to HDMI 4k30hz expansion chip scheme cs5261 and cs5266
老程序员常逛的网站(持续更新)
STM32学习记录0005——JLINK下载与调试
STM32 timer generates event Tim_ GenerateEvent
Minipcie interface can card expands can channel for industrial computer
Alternative ps8625 | alternative ps8622 | design and development of cost-effective EDP to LVDS adapter board cs5211
Replace Fe1 1s, ma8601, cost-effective, Chinese solution, Qiyan primary agent, Hub solution
TD041S485H完全兼容ISO3080, ISO3086 ISO3082, ISO3088
微信支付 iframe子页面 无响应
Ag9310mcq supports the design reference circuit of mother seat forward and reverse plug typec to HDMI projection scheme
Td041s485h is fully compatible with iso3080, iso3086, iso3082 and iso3088
MCIeCAN在工控机中的应用
Cs5202 chip specification 𞓜 cs5202 replaces cs5212 | HDMI to VGA chip
Handwritten numeral recognition in deep learning environment
Leetcode598: range summation II
利用线程工厂设定线程池中线程名称
DP转HDMI方案|CS5216方案应用|CS5216设计方案
PL2586设计电路|PL2586替代FE1.1S电路图|USB2.0HUB工业级集线器方案设计
STM32学习记录——开发环境安装