From 6a2be5c95bcdfbc8d485ca8942b8dc30c83ca6cf Mon Sep 17 00:00:00 2001 From: ChenKaiLiuG Date: Thu, 4 Dec 2025 11:31:45 +0800 Subject: [PATCH] Add Dashboard --- stack/dashboard.yml | 25 +++++++++++++++++++++++++ stack/entrance-website.yml | 0 stack/ollama-webui.yml | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 stack/entrance-website.yml diff --git a/stack/dashboard.yml b/stack/dashboard.yml index e69de29..64f3a50 100644 --- a/stack/dashboard.yml +++ b/stack/dashboard.yml @@ -0,0 +1,25 @@ +version: "3.8" + +services: + dashy: + image: lissy93/dashy:latest + container_name: Dashy + # 掛載您的 Dashy 配置檔案 + volumes: + - ./conf.yml:/app/user-data/conf.yml + - dashy_data:/app/user-data + ports: + - "9070:8080" + environment: + - NODE_ENV=production + restart: unless-stopped + # 健康檢查 + healthcheck: + test: ['CMD', 'node', '/app/services/healthcheck'] + interval: 1m30s + timeout: 10s + retries: 3 + start_period: 40s + +volumes: + dashy_data: diff --git a/stack/entrance-website.yml b/stack/entrance-website.yml new file mode 100644 index 0000000..e69de29 diff --git a/stack/ollama-webui.yml b/stack/ollama-webui.yml index ef6c6ed..fbcb506 100644 --- a/stack/ollama-webui.yml +++ b/stack/ollama-webui.yml @@ -27,7 +27,7 @@ services: volumes: - open-webui-data:/app/backend/data ports: - - "9070:8080" + - "9060:8080" environment: - OLLAMA_BASE_URL=http://ollama:11434