Update Grafana to v13, add version notes

This commit is contained in:
yeasy
2026-04-25 15:50:13 +00:00
parent 515ba9f64a
commit 1e9cdeea3f
55 changed files with 220 additions and 70 deletions
+2
View File
@@ -120,6 +120,7 @@ VOLUME /data
#### 数据库持久化
```docker
# 建议使用 postgres:16 或 postgres:latest,具体版本号根据数据库兼容性需求选择
FROM postgres:16
VOLUME /var/lib/postgresql/data
```
@@ -173,6 +174,7 @@ $ docker inspect mycontainer --format '{{json .Mounts}}' | jq
```yaml
services:
db:
# 建议使用 postgres:16 或其他具体版本,避免 latest
image: postgres:16
volumes:
# 命名卷(推荐)