安装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 里面的注释编辑所需配置

docker-compose 命令

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

# 停止 docker-compose
docker-compose stop

反向代理

反向代理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