Skip to content

Commit

Permalink
Added docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Pfuenzle committed Feb 22, 2022
1 parent 6ca4d66 commit cc452af
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ log.txt
failed.txt
__pycache__/
.idea/
mangas.progress
mangas.progress
mydocker-compose.yml
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ docker run \
```
Hint: Replace \ with ` when using Powershell

Alternatively, you could run the docker-compose to get a running container with progress tracking

### Additional Environment Variables
- `MANGAS="Manga1,Manga2"` - This can be used to give a comma seperated list of mangas which are supposed to be updated. If it is left blank, every manga will be updated.
- `KEEPPROGRESS=True` - This can be set to either true or false. If it is set to true, a list of all successfully updated mangas will be saved and mangas in this list will not be updated on the next run. If you want to persist the list on the disk, you have to also add a volume as following: `-v /path/to/mangas.progress:/app/mangas.progress`, where `/path/to/mangas.progress` has to be replaced with the path to an empty existing file.
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: "3.5"
services:
anisearchkomga:
container_name: anisearchkomga
image: pfuenzle/anisearchkomga
environment:
- KOMGAURL=https://komga.com
- [email protected]
- KOMGAPASSWORD=12345
- LANGUAGE=German
- KEEPPROGRESS=True
volumes:
- ./mangas.progress:/app/mangas.progress

0 comments on commit cc452af

Please sign in to comment.