安装docker-compose

#Debian/Ubuntu
apt install docker-compose -y
#CentOS
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version

下载项目里的 docker-compose.yaml

wget https://raw.githubusercontent.com/hectorqin/reader/master/docker-compose.yaml
# 根据 docker-compose.yaml 里面的注释编辑所需配置
vim docker-compose.yaml
# 保存
esc
:wq

docker-compose 命令

# 启动 docker-compose
docker-compose up -d

# 停止 docker-compose
docker-compose stop

查看实时日志

docker logs -f reader

自行导入远程书源(打开链接后复制网址导入即可)

https://legado.pages.dev

手动更新

docker-compose pull && docker-compose up -d

反向代理

反向代理http://127.0.0.1:4396

详细教程看官方

https://github.com/hectorqin/reader

https://github.com/hectorqin/reader/blob/master/doc.md#docker-compose%E7%89%88%E6%8E%A8%E8%8D%90