• docker 搭建个人图书馆 calibreweb 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

     

  • 相关阅读:
    SpringMVC将表单对象序列化成Json字符串提交,以List接收
    Spring boot下添加filter
    如何将查出的日期Data类型以Json格式输出到前端
    ajax传递给后台数组参数方式
    Spring boot + Gradle + Eclipse打war包发布总结
    Spring-data-jpa详解
    SpringMVC配置过程中出现的问题!
    spring 集成shiro 之 自定义过滤器
    完全跨域的单点登录
    Java8 Lambda表达式
  • 原文地址:https://www.cnblogs.com/daofree/p/16412136.html
Copyright © 2020-2023  润新知