电子书阅读服务器
Calibre-Web Automated※#
本地创建几个目录,映射到容器中
- config:配置
- book-ingest:导入目录
- library:图书存储目录
- plugins:插件目录
docker-compose.yml
下面的9023是我映射到外部使用的端口,可自行设定
services:
calibre-web-automated:
image: docker.1ms.run/crocodilestick/calibre-web-automated:latest
container_name: calibre-web-automated
environment:
# Only change these if you know what you're doing
- PUID=1026
- PGID=100
- TZ=Asia/Shanghai
# Hardcover API Key required for Hardcover as a Metadata Provider, get one here: https://docs.hardcover.app/api/getting-started/
- HARDCOVER_TOKEN=按上述网站链接自行修改
# If your library is on a network share (e.g., NFS/SMB), disable WAL to reduce locking issues
# Accepts: true/false (default: false)
- NETWORK_SHARE_MODE=false
# Override the default port (8083) for the web server.
# Accepts any valid port number.
- CWA_PORT_OVERRIDE=8083
volumes:
# CW users migrating should stop their existing CW instance, make a copy of the config folder, and bind that here to carry over all of their user settings ect.
- ./config:/config
# This is an ingest dir, NOT a library one. Anything added here will be automatically added to your library according to the settings you have configured in CWA Settings page. All files placed here are REMOVED AFTER PROCESSING
- ./book-ingest:/cwa-book-ingest
# If you don't have an existing library, CWA will automatically create one at the bind provided here
- ./library:/calibre-library
# If you use calibre plugins, you can bind your plugins folder here to have CWA attempt to add them to its workflow (WIP)
# If you are starting with a fresh install, you also need to copy customize.py.json to the Calibre config volume above, in /path/to/config/folder/.config/calibre/customize.py.json, see the note below for more info
- ./plugins:/config/.config/calibre/plugins
ports: # Change the first number to change the port you want to access the Web UI, not the second
- 9023:8083
# If you set CWA_PORT_OVERRIDE to a port below 1024, you may need to uncomment the following line: # cap_add:
# - NET_BIND_SERVICE
restart: unless-stopped