Please bind the following option.yml configuration to /app/option.yml. Configuration can also be modified as needed, see https://jmcomic.readthedocs.io/zh-cn/latest/option_file_syntax/
# option.yml
log: true
download:
cache: true
dir_rule:
base_dir: ./downloads
plugins:
after_album:
- plugin: zip
kwargs:
zip_dir: ./zips
delete_original_file: true
after_init:
- plugin: login
kwargs:
username: your-jm-user-name
password: your-jm-password
How to use:
docker run -d -p 5000:5000 \
-v "$(pwd)/downloads:/app/downloads" \
-v "$(pwd)/zips:/app/zips" \
-v "$(pwd)/option.yml:/app/option.yml" \
papersman/jmbridge:latest
Downloaded files are stored in the zips directory.
If you want to use with Lanraragi, configure the following environment variables:
docker run -d -p 5000:5000 \
-e LAN_API_TOKEN=your-api-token \
-e LANRARAGI_ENABLE=true \
-e LANRARAGI_URL=http://127.0.0.1:3000 \
-v "$(pwd)/downloads:/app/downloads" \
-v "$(pwd)/zips:/app/zips" \
-v "$(pwd)/option.yml:/app/option.yml" \
papersman/jmbridge:latest
Content type
Image
Digest
sha256:4d62615b7…
Size
204.9 MB
Last updated
over 1 year ago
docker pull papersman/jmbridge