Remake Repository

This commit is contained in:
arch3rPro
2025-06-30 23:37:03 +08:00
parent d593e04bd7
commit e98d0faf79
420 changed files with 55489 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
CONTAINER_NAME="netdata"
DOCKER_SOCK_PATH="/var/run/docker.sock"
HOSTNAME="netdata"
PANEL_APP_PORT_HTTP=19999

View File

@@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: "19999"
disabled: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "netdata"
edit: true
envKey: HOSTNAME
labelEn: Hostname
labelZh: 主机名
required: true
type: text
- default: "/var/run/docker.sock"
edit: true
envKey: DOCKER_SOCK_PATH
labelEn: Docker Socket Path
labelZh: Docker 套接字路径
required: true
type: text

View File

@@ -0,0 +1,27 @@
services:
netdata:
image: "netdata/netdata:latest"
container_name: ${CONTAINER_NAME}
restart: always
network_mode: host
hostname: ${HOSTNAME}
cap_add:
- SYS_PTRACE
- SYS_ADMIN
security_opt:
- apparmor:unconfined
volumes:
- ./data/netdataconfig:/etc/netdata
- ./data/netdatalib:/var/lib/netdata
- ./data/netdatacache:/var/cache/netdata
- /:/host/root:ro,rslave
- /etc/passwd:/host/etc/passwd:ro
- /etc/group:/host/etc/group:ro
- /etc/localtime:/etc/localtime:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /etc/os-release:/host/etc/os-release:ro
- /var/log:/host/var/log:ro
- ${DOCKER_SOCK_PATH}:/var/run/docker.sock:ro
labels:
createdBy: "Apps"