chore: 更新 n9e、newapi 镜像并移除 netdata

This commit is contained in:
cnphpbb
2026-11-07 16:21:10 +08:00
parent 5cf9b0babf
commit e5aa5e7b14
7 changed files with 5 additions and 56 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ services:
# - "9090:9090"
victoriametrics:
image: victoriametrics/victoria-metrics:v1.126.0
image: victoriametrics/victoria-metrics:v1.155.0
container_name: victoriametrics
hostname: victoriametrics
restart: always
@@ -68,7 +68,7 @@ services:
- "--loggerTimezone=Asia/Shanghai"
nightingale:
image: "flashcatcloud/nightingale:8.5.0"
image: "flashcatcloud/nightingale:9.3.0"
container_name: nightingale
hostname: nightingale
restart: always
+2 -2
View File
@@ -37,7 +37,7 @@ services:
- nightingale
victoriametrics:
image: victoriametrics/victoria-metrics:v1.126.0
image: victoriametrics/victoria-metrics:v1.155.0
container_name: victoriametrics
hostname: victoriametrics
restart: always
@@ -51,7 +51,7 @@ services:
- "--loggerTimezone=Asia/Shanghai"
nightingale:
image: flashcatcloud/nightingale:9.0.0
image: flashcatcloud/nightingale:9.3.0
container_name: nightingale
hostname: nightingale
restart: always
-3
View File
@@ -1,3 +0,0 @@
# docker exec -it netdata bash
# cd /etc/netdata
# ./edit-config netdata.conf
-2
View File
@@ -1,2 +0,0 @@
IMAGE_TAG=netdata/netdata:edge-0
Volumes_Path=/data/volumes/netdata
-13
View File
@@ -1,13 +0,0 @@
# ============================================================
# netdata 部署 — 公共环境变量模板(不含敏感信息)
# 复制为 env.cfg 后填入真实值,env.cfg 已被 .gitignore 忽略
# ============================================================
#
# 使用方式:
# cp env.cfg.example env.cfg
# $EDITOR env.cfg # 填入真实密码/密钥后保存
# docker compose -p netdata --env-file ./env.cfg -f ./stack.yml up -d
#
IMAGE_TAG=netdata/netdata:edge-0
Volumes_Path=/data/volumes/netdata
-33
View File
@@ -1,33 +0,0 @@
## PULL:: docker compose --env-file ./netdata/env.cfg -f ./netdata/stack.yml pull
## RUN:: docker compose -p netdata --env-file ./netdata/env.cfg -f ./netdata/stack.yml up -d
services:
netdata:
image: ${IMAGE_TAG}
container_name: netdata_dashboard
hostname: my_docker_compose_netdata
pid: host
network_mode: host
restart: unless-stopped
cap_add:
- SYS_PTRACE
- SYS_ADMIN
security_opt:
- apparmor:unconfined
volumes:
- ${Volumes_Path}/config:/etc/netdata
- netdatalib:/var/lib/netdata
- 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
- /var/run/docker.sock:/var/run/docker.sock:ro
volumes:
netdatalib:
netdatacache:
+1 -1
View File
@@ -21,7 +21,7 @@ PORT=3000
# ---------- 镜像 ----------
# new-api 版本号(与 GitHub release tag 同名;拉取失败可回退 latest)
IMAGE_TAG_VER=v1.0.0-rc.30
IMAGE_TAG_VER=v1.0.0-rc.48
# 完整镜像引用
IMAGE_TAG=calciumion/new-api:${IMAGE_TAG_VER}
# Redis 镜像