forked from DevOps/deploy.stack
chore: 更新 n9e、newapi 镜像并移除 netdata
This commit is contained in:
@@ -54,7 +54,7 @@ services:
|
|||||||
# - "9090:9090"
|
# - "9090:9090"
|
||||||
|
|
||||||
victoriametrics:
|
victoriametrics:
|
||||||
image: victoriametrics/victoria-metrics:v1.126.0
|
image: victoriametrics/victoria-metrics:v1.155.0
|
||||||
container_name: victoriametrics
|
container_name: victoriametrics
|
||||||
hostname: victoriametrics
|
hostname: victoriametrics
|
||||||
restart: always
|
restart: always
|
||||||
@@ -68,7 +68,7 @@ services:
|
|||||||
- "--loggerTimezone=Asia/Shanghai"
|
- "--loggerTimezone=Asia/Shanghai"
|
||||||
|
|
||||||
nightingale:
|
nightingale:
|
||||||
image: "flashcatcloud/nightingale:8.5.0"
|
image: "flashcatcloud/nightingale:9.3.0"
|
||||||
container_name: nightingale
|
container_name: nightingale
|
||||||
hostname: nightingale
|
hostname: nightingale
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ services:
|
|||||||
- nightingale
|
- nightingale
|
||||||
|
|
||||||
victoriametrics:
|
victoriametrics:
|
||||||
image: victoriametrics/victoria-metrics:v1.126.0
|
image: victoriametrics/victoria-metrics:v1.155.0
|
||||||
container_name: victoriametrics
|
container_name: victoriametrics
|
||||||
hostname: victoriametrics
|
hostname: victoriametrics
|
||||||
restart: always
|
restart: always
|
||||||
@@ -51,7 +51,7 @@ services:
|
|||||||
- "--loggerTimezone=Asia/Shanghai"
|
- "--loggerTimezone=Asia/Shanghai"
|
||||||
|
|
||||||
nightingale:
|
nightingale:
|
||||||
image: flashcatcloud/nightingale:9.0.0
|
image: flashcatcloud/nightingale:9.3.0
|
||||||
container_name: nightingale
|
container_name: nightingale
|
||||||
hostname: nightingale
|
hostname: nightingale
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
# docker exec -it netdata bash
|
|
||||||
# cd /etc/netdata
|
|
||||||
# ./edit-config netdata.conf
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
IMAGE_TAG=netdata/netdata:edge-0
|
|
||||||
Volumes_Path=/data/volumes/netdata
|
|
||||||
@@ -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
|
|
||||||
@@ -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:
|
|
||||||
@@ -21,7 +21,7 @@ PORT=3000
|
|||||||
|
|
||||||
# ---------- 镜像 ----------
|
# ---------- 镜像 ----------
|
||||||
# new-api 版本号(与 GitHub release tag 同名;拉取失败可回退 latest)
|
# 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}
|
IMAGE_TAG=calciumion/new-api:${IMAGE_TAG_VER}
|
||||||
# Redis 镜像
|
# Redis 镜像
|
||||||
|
|||||||
Reference in New Issue
Block a user