-
-
Notifications
You must be signed in to change notification settings - Fork 356
Expand file tree
/
Copy pathdocker-compose.yml.dev
More file actions
48 lines (46 loc) · 2.87 KB
/
docker-compose.yml.dev
File metadata and controls
48 lines (46 loc) · 2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
services:
calibre-web-automated:
image: crocodilestick/calibre-web-automated:latest
container_name: calibre-web-automated
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=UTC
# Sets the listening port for the application. Defaults to 8083.
# - CWA_PORT_OVERRIDE=8083
# Hardcover API Key required for Hardcover as a Metadata Provider, get one here: https://docs.hardcover.app/api/getting-started/
- HARDCOVER_TOKEN=your_hardcover_api_key_here
# If your library is on a network share (e.g., NFS/SMB), disables WAL and chown to reduce locking/permission issues,
# and switches file watching to polling (more reliable on network mounts) instead of inotify.
# Accepts: true/false (default: false)
- NETWORK_SHARE_MODE=false
# If you want to force polling mode regardless of share type, set CWA_WATCH_MODE=poll
# - CWA_WATCH_MODE=poll
# Skip the automatic library detection/mount at startup. When enabled, the auto-library service will not run.
# Accepts: true/yes/1 to disable auto-mount (default: false)
# - DISABLE_LIBRARY_AUTOMOUNT=false
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.
- /path/to/config/folder:/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
- /path/to/the/folder/you/want/to/use/for/book/ingest:/cwa-book-ingest
# If you don't have an existing library, CWA will automatically create one at the bind provided here
- /path/to/your/calibre/library:/calibre-library
# If you use calibre plugins, you can bind your plugins folder here to have CWA attempt to add them to it's workflow (WIP)
- /path/to/your/calibre/plugins/folder:/config/.config/calibre/plugins
# DEV SPECIFIC BINDS
### The current easiest way to develop CWA is to live edit a running instance.
### To do so, use docker binds to bind the files your working on to their counterparts in the running container.
### This will let you see your changes in realtime, test ect. You can use build.sh to prepare images with your changes.
### For example:
# /your/dev/env/cps:/app/calibre-web-automated/cps
ports:
# Change the first number to change the port you want to access the Web UI, not the second
- 8083: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