Files
nas-tools/reasonix/docker-compose.yml
T
Gan, Jimmy 9159363b93
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
chore: update config, caddy files, and add reasonix docker setup
2026-07-11 05:24:34 +08:00

40 lines
942 B
YAML

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