Files
devops/docker/calibre/docker-compose.yml
2025-03-17 11:53:43 +08:00

30 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
services:
calibre-web-automated:
image: crocodilestick/calibre-web-automated:latest
container_name: calibre-web-automated
restart: unless-stopped
ports:
# Change the first number to change the port you want to access the Web UI, not the second
- 8083:8083
networks:
- devops
environment:
# Only change these if you know what you're doing
- PUID=1000
- PGID=1000
# Edit to match your current timezone https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- TZ=Asia/Shanghai # 设置时区
volumes:
# mkdir -p ~/dockers/calibre/{config,cwa-book-ingest,calibre-library}
# 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.
- ~/dockers/calibre/config:/config # 存储 Komga 配置和数据库
# 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
- ~/dockers/calibre/cwa-book-ingest:/cwa-book-ingest # 你的电子书存储目录EPUB, PDF
# If you don't have an existing library, CWA will automatically create one at the bind provided here
- ~/dockers/calibre/calibre-library:/calibre-library # Komga 日志
networks:
devops:
external: true