(refactor) Remove env files and scripts, update config files
This commit is contained in:
22
apps/dashdot-gpu/nvidia-6.2.0/data.yml
Normal file
22
apps/dashdot-gpu/nvidia-6.2.0/data.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 3001
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: DASHDOT_ENABLE_CPU_TEMPS
|
||||
labelZh: 启用 CPU 温度
|
||||
labelEn: Enable CPU temps
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 启用
|
||||
value: "true"
|
||||
- label: 禁用
|
||||
value: "false"
|
||||
37
apps/dashdot-gpu/nvidia-6.2.0/docker-compose.yml
Normal file
37
apps/dashdot-gpu/nvidia-6.2.0/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
dashdot:
|
||||
image: mauricenino/dashdot:nvidia-6.2.0
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
privileged: true
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- capabilities:
|
||||
- gpu
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
# - /dev/kfd:/dev/kfd
|
||||
# - /dev/nvidia0:/dev/nvidia0
|
||||
# - /dev/nvidiactl:/dev/nvidiactl
|
||||
# - /dev/nvidia-modeset:/dev/nvidia-modeset
|
||||
# - /dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl
|
||||
# - /dev/nvidia-uvm:/dev/nvidia-uvm
|
||||
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
|
||||
# - /dev/video11:/dev/video11
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:3001
|
||||
volumes:
|
||||
- /:/mnt/host:ro
|
||||
environment:
|
||||
- DASHDOT_WIDGET_LIST=os,cpu,storage,ram,network,gpu
|
||||
- DASHDOT_ENABLE_CPU_TEMPS=${DASHDOT_ENABLE_CPU_TEMPS}
|
||||
Reference in New Issue
Block a user