mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-08-30 20:55:32 +08:00
feat(stack): XHProf 采集切换文件落盘并独立 xhgui 供应
This commit is contained in:
@@ -16,7 +16,9 @@ services:
|
||||
- "host.docker.internal:host-gateway"
|
||||
environment:
|
||||
- XHPROF_ENABLE=${XHPROF_ENABLE:-false}
|
||||
- XHGUI_UPLOAD_URL=http://xhgui:80/run/import
|
||||
- XHPROF_SAVER=${XHPROF_SAVER:-file}
|
||||
- XHPROF_FILE_DIR=${XHPROF_FILE_DIR:-}
|
||||
- XHGUI_UPLOAD_URL=${XHGUI_UPLOAD_URL:-}
|
||||
- XHGUI_UPLOAD_TOKEN=${XHGUI_UPLOAD_TOKEN:-ulthon-admin-xhprof}
|
||||
depends_on:
|
||||
mysql:
|
||||
@@ -60,7 +62,7 @@ services:
|
||||
xhgui:
|
||||
image: xhgui/xhgui:0.24.x
|
||||
restart: unless-stopped
|
||||
profiles: ["xhprof"]
|
||||
profiles: ["xhgui"]
|
||||
ports:
|
||||
- "8142:80"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user