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
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:
@@ -0,0 +1,2 @@
|
||||
# DeepSeek API key for litellm proxy
|
||||
DEEPSEEK_LOCAL_API_KEY=sk-your-key-here
|
||||
@@ -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
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user