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
+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