Clarify config in README
All checks were successful
Build and Push Container / build (push) Successful in 37s

This commit is contained in:
pfych 2025-04-20 14:22:05 +10:00
parent 6559056402
commit 3b3f66645e

View File

@ -15,16 +15,15 @@ Create a `config.json` in the root directory of the project, or alongside the sc
```json ```json
{ {
"checkInterval": 900, "checkInterval": 900,
"mangaByWebhook": { "mangaByWebhook": {
"DISCORD_WEBHOOK_URL_1": [ "https://discord.com/api/webhooks/id/token": [
"MANGADEX_MANGA_ID_1", "9d3d3403-1a87-4737-9803-bc3d99db1424",
"MANGADEX_MANGA_ID_2", "cb1b1da5-9436-49f5-8a6b-a1689fb86d91",
"MANGADEX_MANGA_ID_3" "9a957884-d1be-48b1-a90c-85686aa16430"
], ],
"DISCORD_WEBHOOK_URL_2": [ "https://discord.com/api/webhooks/id2/token2": [
"MANGADEX_MANGA_ID_4", "9d3d3403-1a87-4737-9803-bc3d99db1424"
"MANGADEX_MANGA_ID_5"
] ]
} }
} }
@ -46,5 +45,5 @@ services:
image: git.pfy.ch/pfych/chapter-tracker:latest image: git.pfy.ch/pfych/chapter-tracker:latest
volumes: volumes:
- "./config.json:/checker/config.json" - "./config.json:/checker/config.json"
- "./mangaHistory.json:/checker/mangaHistory.json" - "./mangaHistory.json:/checker/mangaHistory.json" # Required for keeping track of what's been sent
``` ```