Initial commit

This commit is contained in:
2025-12-12 10:34:24 +08:00
commit ba6ef07f36
5 changed files with 29 additions and 0 deletions

1
RSSHub Submodule

Submodule RSSHub added at ff393898a0

4
build.sh Executable file
View File

@@ -0,0 +1,4 @@
cd /opt/rsshub/RSSHub
mv .env .env.bak
pnpm build
mv .env.bak .env

3
dev.sh Executable file
View File

@@ -0,0 +1,3 @@
ps -ef | grep 'node' | grep '/opt/rsshub/RSSHub' | grep -v 'grep' | awk '{print $2}' | xargs kill -9 2>/dev/null
cd /opt/rsshub/RSSHub
pnpm dev

2
run.sh Executable file
View File

@@ -0,0 +1,2 @@
cd /opt/rsshub/RSSHub
pnpm start

View File

@@ -0,0 +1,19 @@
services:
warp-socks:
image: monius/docker-warp-socks:latest
privileged: true
volumes:
- /lib/modules:/lib/modules
cap_add:
- NET_ADMIN
- SYS_ADMIN
sysctls:
net.ipv6.conf.all.disable_ipv6: 0
net.ipv4.conf.all.src_valid_mark: 1
healthcheck:
test: ["CMD", "curl", "-f", "https://www.cloudflare.com/cdn-cgi/trace"]
interval: 30s
timeout: 10s
retries: 5
ports:
- '9091:9091'