diff --git a/README.md b/README.md index 9273db489..7dd74e004 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Komga is a free an open source comics/mangas server. Komga just started, and for now it can: -- scan and index a folder containing comic book archives in `cbz` and `cbr` format +- scan and index a folder containing comic book archives in `cbz` and `cbr` format. Rescan periodically. - serve the individual pages of those books via an API - serve the complete file via an API diff --git a/doc/docker-compose.yml b/doc/docker-compose.yml index 78cfe5225..d4957731a 100644 --- a/doc/docker-compose.yml +++ b/doc/docker-compose.yml @@ -14,6 +14,7 @@ services: - SPRING_PROFILES_ACTIVE=prod - SPRING_DATASOURCE_URL=jdbc:h2:/config/database.h2;DB_CLOSE_DELAY=-1 - KOMGA_ROOT_FOLDER=/books + - KOMGA_ROOT_FOLDER_SCAN_CRON="0 0 * * * ?" # periodic scan every hour - KOMGA_USER_PASSWORD=your-admin-password - KOMGA_ADMIN_PASSWORD=your-user-password restart: unless-stopped