docker 搭建个人图书馆 calibre-web Ok!

docker search calibre-web

docker pull johngong/calibre-web

 

 错误配置

docker run -d \
--name=my-library \
-p 22625:22625 \
-v /root/library/calibre/config:/config \
-v /root/library/calibre/library:/library \
johngong/calibre-web

 

WARNING: IPv4 forwarding is disabled. Networking will not work.

 

vim /etc/sysctl.conf

#配置转发
net.ipv4.ip_forward=1
#保存退出就可以了
:wq!
#重启服务,让配置生效
systemctl restart network

#查看是否成功,如果返回为“net.ipv4.ip_forward = 1”则表示成功

sysctl net.ipv4.ip_forward

 

ERRPR:

 

 

 错误配置

 docker run -d \
--name=my-library \
-p 80:22625 \
-v /root/library/calibre/config:/config \
-v /root/library/calibre/library:/library \
johngong/calibre-web

 

 

 正确启动

 

 docker run -d \
--name=my-library \
-p 80:8083 \
-v /root/library/calibre/config:/config \
-v /root/library/calibre/library:/library \
johngong/calibre-web

内部8083 映射到外部 80

配置目录与书库目录映射

 

docker create --name=my-library \

 -v /calibre/config:/config \

-v /media/ivy/新加卷/书籍:/books \

-p 8083:8083 \

linuxserver/calibre-web

 

 

docker run -d \

--name=calibre-techno-web \

-e TZ=Asian/Shanghai \

-e DOCKER_MODS=linuxserver/calibre-web:calibre \

-p 80:8083 \ -v /data/calibre/config:/config \

-v /data/calibre/books:/books \

--restart unless-stopped \

technosoft2000/calibre-web

 

 

 

默认   admin/ admin123

 

 

 

 

 

 

 

 可访问,不能用

https://blog.csdn.net/was172/article/details/107827668

 

 

 metadata.db

 

 

用 linuxserver/calibre-web  ??

 

docker run -d --name=my-library -p 80:8083 -v /root/library/calibre/config:/config -v /root/library/calibre/library:/library -v /root/library/calibre/books:/books linuxserver/calibre-web

 

https://blog.csdn.net/xs20691718/article/details/100166473

 

 

 

 

 

 

 

 不能用

 

 

 https://www.lategege.com/?p=643

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 需要重新部署 重启 生效! 

 

 https://www.lategege.com/?p=639

https://www.lategege.com/?p=643  配置

https://www.lategege.com/?p=650

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 http://192.168.112.129/admin/view

 

 

 

posted on 2022-06-25 18:01  daofree  阅读(1233)  评论(0编辑  收藏  举报