自幹 RSS Reader 服務嗎?
架構規劃 (2020/08/11)
原本有的用 斜體 表示,新增的用 粗體 表示
已經關閉的就劃刪除線
- 原有的 Apache Server
- WordPress Blog
- Polr ShortUrl
NextCloud
- Reverse Proxy
- Docker Compose
- Miniflux ( 主要對外 )
- PostgreSQL ( Miniflux 需要 )
- RSSHub ( 躲在 Compose 裡面,能與 Miniflux 連上線就好 )
- browserless ( 爬蟲 )
- Redis ( 資料庫快取 )
系統環境 : Debian 10.5
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
警告
雖然說 Ubuntu 同樣基於 Debian 上,但是 Debian 比起 Ubuntu 不方便許多
光是 /sbin 底下的路徑不知道為啥近期的版本 ( 10.4,10.5待確認,這應該是 bug ) 都沒有 PATH 到,真奇怪 :/
建議入門先玩 Ubuntu
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
注意
以下內容以 Debian 環境為主
安裝 Docker 與 Compose
Docker 本體
必要驗證
新增軟體來源以及安裝
輸入 docker
有跑出東西就好
Docker Compose
撰寫 Docker Compose 以及設定 Docker
設定 Docker
設定永久 Volumes
設定永久 Networks
開始撰寫 docker-compose.yml
設定 Apache Reverse Proxy
啟用模組
Virtual Host 設定檔
類似這樣:
之後下指令:
初始化 Miniflux
- 第一次
sudo docker-compose up -d
- 第一次
sudo docker-compose down
- 第二次
sudo docker-compose up -d
- 初始化後,移除
docker-compose.yml
內的 CREATE_ADMIN
、 ADMIN_USERNAME
與 ADMIN_PASSWORD
- 第三次
sudo docker-compose up -d
額外設定 - SSL
參考 Polr Setup 當中的 SSL 設定環節
參考 這裡
只是 rsshub.app 要變成 rsshub:1200 這樣
連結蒐集
Apache Reverse Proxy
Miniflux
Docker