• 欢迎光临~

netdata

开发技术 开发技术 2022-12-01 次浏览

Netdata

Usage

cat > docker-compose.yml <<-'EOF'
# https://learn.netdata.cloud/docs/agent/packaging/docker/
# Port: 19999
version: "3"
 
services:
  netdata:
    image: netdata/netdata
    environment:
      - UMASK=022
    ports:
      - 19999:19999
    restart: always
    cap_add:
      - SYS_PTRACE
    security_opt:
      - apparmor:unconfined
    volumes:
      - ./netdata/config/:/etc/netdata
      - ./netdata/lib:/var/lib/netdata
      - ./netdata/cache:/var/cache/netdata
      - /etc/passwd:/host/etc/passwd:ro
      - /etc/group:/host/etc/group:ro
      - /proc:/host/proc:ro
      - /sys:/host/sys:ro
      - /etc/os-release:/host/etc/os-release:ro

EOF
程序员灯塔
转载请注明原文链接:netdata
喜欢 (0)
违法和不良信息举报电话:022-22558618 举报邮箱:dljd@tidljd.com