From 078587fcf20626c82a5133202fa66a455534210a Mon Sep 17 00:00:00 2001 From: Kun Date: Fri, 24 Jul 2026 19:46:47 +0800 Subject: [PATCH] update 26.7.24 --- .idea/.gitignore | 10 ++++ .idea/iStore_Docker_Compose.iml | 8 ++++ .../inspectionProfiles/profiles_settings.xml | 6 +++ .idea/modules.xml | 8 ++++ .idea/vcs.xml | 6 +++ rsshub/docker-compose.yaml | 48 +++++++++++++++++++ 6 files changed, 86 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/iStore_Docker_Compose.iml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 rsshub/docker-compose.yaml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..f6906f2 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# 已忽略包含查询文件的默认文件夹 +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/iStore_Docker_Compose.iml b/.idea/iStore_Docker_Compose.iml new file mode 100644 index 0000000..d0876a7 --- /dev/null +++ b/.idea/iStore_Docker_Compose.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..8eb3a06 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/rsshub/docker-compose.yaml b/rsshub/docker-compose.yaml new file mode 100644 index 0000000..b0871c3 --- /dev/null +++ b/rsshub/docker-compose.yaml @@ -0,0 +1,48 @@ +services: + rsshub: + image: diygod/rsshub # or ghcr.io/diygod/rsshub + restart: always + ports: + - '1200:1200' + environment: + NODE_ENV: production + CACHE_TYPE: redis + REDIS_URL: 'redis://redis:6379/' + PLAYWRIGHT_WS_ENDPOINT: 'ws://browserless:3000' + healthcheck: + test: ['CMD', 'curl', '-f', 'http://localhost:1200/healthz'] + interval: 30s + timeout: 10s + retries: 3 + depends_on: + - redis + - browserless + + browserless: + image: browserless/chrome + restart: always + ulimits: + core: + hard: 0 + soft: 0 + healthcheck: + test: ['CMD', 'curl', '-f', 'http://localhost:3000/pressure'] + interval: 30s + timeout: 10s + retries: 3 + + redis: + image: redis:alpine + restart: always + volumes: + # 本地卷宗挂载 + - redis-data:/data + healthcheck: + test: ['CMD', 'redis-cli', 'ping'] + interval: 30s + timeout: 10s + retries: 5 + start_period: 5s + +volumes: + redis-data: \ No newline at end of file