201804_rss.jpg
MinifluxGolangFeedAtomRSS 1.02.0JSONOPMLPostgresqlDocker

页面截图

列表页面
内容页面

安装教程

OpenVZVPS

1、安装环境

#Debian/Ubuntu系统
apt-get -y install git make nano curl

#CentOS/RHEL系统
yum -y install git make nano curl

2、安装Docker和Docker Compose

#安装Docker
curl -sSL https://get.docker.com/ | sh
service docker start
#安装Docker Compose
curl -L https://github.com/docker/compose/releases/download/v2.9.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose.yml
nano docker-compose.yml

复制并粘贴以下代码:

version: '3'
services:
    miniflux:
        image: miniflux/miniflux
        ports:
            - "8080:8080"
        depends_on:
            - db
        environment:
            - DATABASE_URL=postgres://miniflux:[email protected]/miniflux?sslmode=disable
    db:
        image: postgres
        environment:
            - POSTGRES_USER=miniflux
            - POSTGRES_PASSWORD=secret
        volumes:
            - miniflux-db:/var/lib/postgresql/data
volumes:
    miniflux-db:
Ctrl+xy

开始运行镜像

docker-compose up -d

4、设置管理员账号密码

#找到Miniflu容器,并记住container-id。
docker ps
#将container-name换成container-id后运行
docker exec -ti <container-name> /usr/bin/miniflux -migrate
docker exec -ti <container-name> /usr/bin/miniflux -create-admin
http://yourip:8080

添加SSL

SSL
Caddy
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh

#备用地址
wget -N --no-check-certificate https://www.moewah.com/source/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh

编辑配置文件

#以下全部内容是一个整体,修改域名、IP、邮箱后一起复制到SSH运行!
echo "https://yourdomain.com {
 tls [email protected]
 proxy / 111.111.111.111:9090 {
    header_upstream Host {host}
    header_upstream X-Real-IP {remote}
    header_upstream X-Forwarded-For {remote}
    header_upstream X-Forwarded-Port {server_port}
    header_upstream X-Forwarded-Proto {scheme}
  }
 log /var/log/caddy.log
 gzip
}" > /usr/local/caddy/Caddyfile
Caddy
/etc/init.d/caddy restart
https
MinifluxRSSHub