自建Docker FreshRss 阅读器

date
Oct 26, 2022
slug
newservice-freshrss-reader
status
Published
summary
新服务 rss
tags
service
type
Post
notion image

Summary

  • + rss: https://freshrss.xxx.com/i/?c=feed&a=add&url_rss=https%3A%2F%2Fwangyurui.com%2Ffeed.xml

步骤

 
export DOCKER_PROJ=freshrss
# export DOCKER_PORT=18610
# export DOCKER_PSWD=aQ8Y66
mkdir /data/$DOCKER_PROJ; cd /data/$DOCKER_PROJ

cat > docker-compose.yml <<EOF
---
version: "2.1"
services:
  $DOCKER_PROJ:
    image: lscr.io/linuxserver/freshrss:latest
    container_name: $DOCKER_PROJ
    environment:
      - PUID=$(id -u www)
      - PGID=$(id -g www)
      - TZ=Asia/Hong_Kong
    volumes:
      - $(pwd)/data:/config
#    ports:
#      - 80:80
    restart: unless-stopped
networks:
  default:
    name: npm_nginx_proxy_manager-network
    external: true
EOF

docker-compose down; docker-compose up -d; sleep 1s; docker-compose logs -f

local cache / cloudflare cache都要关闭,不然安装会有各种问题

CloudFlare设立新的域名

notion image

npm nginx proxy manager配置

notion image

使用扩展

cd /data/freshrss/data/www/freshrss/extensions
# 找到extension 所在的目录
git clone https://github.com/FreshRSS/Extensions
mv Extensions/* .

# 然后刷新扩展页面刷新并启用扩展就好
notion image
 

API 访问 - Google Reader and Fever Compatible

 
notion image
notion image

验证

notion image
 

© Ying Bun 2021 - 2024