Last active
March 31, 2025 11:10
-
-
Save pingkunga/1f32917463d441d80cd430eae8aa8c49 to your computer and use it in GitHub Desktop.
kavita docker compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
kavita: | |
image: jvmilazz0/kavita:latest # Using the stable branch from the official dockerhub repo. | |
container_name: kavita | |
volumes: | |
- ./data/manga:/manga | |
- ./data/comics:/comics | |
- ./data/books:/books | |
- ./config:/kavita/config # /kavita/config must not be changed | |
environment: | |
- TZ=Asia/Bangkok | |
- DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true | |
ports: | |
- "15000:5000" | |
restart: unless-stopped | |
deploy: | |
resources: | |
limits: | |
cpus: "0.5" # Comment this line, if use on Synology NAS, NanoCPUs can not be set | |
memory: "512M" | |
reservations: | |
cpus: "0.25" # Comment this line, if use on Synology NAS, NanoCPUs can not be set | |
memory: "256M" | |
# Full Error | |
# - NanoCPUs can not be set, as your kernel does not support CPU cfs period/quota or the cgroup is not mounted | |
# - Ref: https://www.synoforum.com/threads/cpu-limiting.9473/ / | |
# https://www.reddit.com/r/synology/comments/12v56rv/docker_problem_after_creating_second_volume_on_m2/ | |
# https://docs.ultra.cc/applications/kavita | |
# https://wiki.kavitareader.com/guides/scanner/pdf/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment