chore: update config, caddy files, and add reasonix docker setup
Deploy Dashboard (Main) / Backend Tests (push) Successful in 2m37s
Deploy Dashboard (Main) / Frontend Tests (push) Successful in 7s
Deploy Dashboard (Main) / Build Main Image (push) Successful in 4m3s
Deploy Dashboard (Main) / Deploy to Production (push) Successful in 1m23s

This commit is contained in:
Gan, Jimmy
2026-07-11 05:24:34 +08:00
parent b77de0c9d0
commit 9159363b93
7 changed files with 66 additions and 0 deletions
+1
View File
@@ -71,6 +71,7 @@ EXTERNAL_SERVICES = {
"stirling_pdf": os.environ.get("STIRLING_PDF_URL", "https://pdf.jimmygan.com"),
"vaultwarden": os.environ.get("VAULTWARDEN_URL", "https://vault.jimmygan.com"),
"n8n": os.environ.get("N8N_URL", "https://n8n.jimmygan.com"),
"reasonix": os.environ.get("REASONIX_URL", "https://code.jimmygan.com"),
"speedtest": os.environ.get("SPEEDTEST_URL", "https://speed.jimmygan.com"),
"openconnector": os.environ.get("OPENCONNECTOR_URL", "https://connector.jimmygan.com"),
}
@@ -62,6 +62,7 @@
{ label: "Stirling PDF", remoteHref: "https://pdf.jimmygan.com", icon: "pdf", external: true },
{ label: "Vaultwarden", remoteHref: "https://vault.jimmygan.com", icon: "lock", external: true },
{ label: "n8n", remoteHref: "https://n8n.jimmygan.com", icon: "n8n", external: true },
{ label: "Reasonix", remoteHref: "https://code.jimmygan.com", icon: "code", external: true },
{ label: "Speedtest", remoteHref: "https://speed.jimmygan.com", icon: "speedtest", external: true },
{ label: "OpenConnector", remoteHref: "https://connector.jimmygan.com", port: 3002, icon: "link", external: true },
];
+2
View File
@@ -0,0 +1,2 @@
# DeepSeek API key for litellm proxy
DEEPSEEK_LOCAL_API_KEY=sk-your-key-here
+39
View File
@@ -0,0 +1,39 @@
services:
reasonix:
image: node:alpine
container_name: reasonix
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=false"
ports:
- "127.0.0.1:8787:8787"
environment:
- DEEPSEEK_LOCAL_API_KEY=${DEEPSEEK_LOCAL_API_KEY}
- TZ=Asia/Shanghai
volumes:
- ./reasonix.toml:/home/node/.reasonix/config.toml:ro
- ./data:/home/node/.reasonix
networks:
- nas-dashboard_internal
working_dir: /home/node
user: node
command:
- sh
- -c
- |
npm install -g reasonix@1.17.10
reasonix serve --addr 0.0.0.0:8787 --auth none
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8787"]
interval: 30s
timeout: 5s
retries: 3
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
networks:
nas-dashboard_internal:
external: true
+6
View File
@@ -0,0 +1,6 @@
[providers]
deepseek-flash = { kind = "openai", base_url = "http://litellm:4005", model = "deepseek-v4-flash", api_key_env = "DEEPSEEK_LOCAL_API_KEY", context_window = 1000000 }
deepseek-pro = { kind = "openai", base_url = "http://litellm:4005", model = "deepseek-v4-pro", api_key_env = "DEEPSEEK_LOCAL_API_KEY", context_window = 1000000 }
[defaults]
model = "deepseek-flash"
+11
View File
@@ -141,6 +141,17 @@ vault.jimmygan.com {
reverse_proxy 127.0.0.1:8222
}
code.jimmygan.com {
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
forward_auth 127.0.0.1:9092 {
uri /api/verify?rd=https://auth.jimmygan.com:8443
copy_headers Remote-User Remote-Groups Remote-Name Remote-Email
}
reverse_proxy 127.0.0.1:8787
}
speed.jimmygan.com {
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
+6
View File
@@ -66,3 +66,9 @@ photos-app.jimmygan.com {
}
}
}
code.jimmygan.com {
import security_headers
import authelia
reverse_proxy 100.78.131.124:8787
}