35 lines
828 B
YAML
35 lines
828 B
YAML
services:
|
|
reasonix:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: reasonix:latest
|
|
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/reasonix/.reasonix/config.toml:ro
|
|
- ./data:/home/reasonix/.reasonix
|
|
networks:
|
|
- nas-dashboard_internal
|
|
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
|