From ee1d251c92c279b2b35b78fa8a3d60f186ae544a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20=C5=81uczak?= Date: Wed, 3 Jul 2024 16:52:23 +0200 Subject: [PATCH] Add cache for Video IDs --- .gitignore | 1 + compose.yaml | 1 + config/_template.yaml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a4d45cf..662cfa2 100644 --- a/.gitignore +++ b/.gitignore @@ -177,3 +177,4 @@ dist # Custom config/*.yaml !config/_template.yaml +data/ diff --git a/compose.yaml b/compose.yaml index ceead62..caacad6 100644 --- a/compose.yaml +++ b/compose.yaml @@ -12,3 +12,4 @@ services: restart: unless-stopped volumes: - ./config/production.yaml:/config/production.yaml:ro + - ./data:/data diff --git a/config/_template.yaml b/config/_template.yaml index 6849876..ec6da66 100644 --- a/config/_template.yaml +++ b/config/_template.yaml @@ -2,7 +2,7 @@ log_level: info frequency: 30 # minutes raindrop_token: "..." raindrop_collection_id: "..." -cache_file_path: "cache.json" +cache_file_path: "/data/cache.json" feeds: - name: DevOpsToolkit channel_id: UCfz8x0lVzJpb_dgWm9kPVrw