Fix outdated versions, template variables and version inconsistencies

- Update K8s Dashboard v2.0.0 to v2.7.0
- Update etcd v3.4.0 to v3.5.17
- Update PostgreSQL 15 to 16 for consistency
- Update Node.js 12 to 20 (current LTS)
- Replace unresolved GitBook template variables (CODE1/2/3/9)
This commit is contained in:
yeasy
2026-03-14 08:45:42 -07:00
parent 0f2a7a6331
commit 14067ad926
6 changed files with 11 additions and 11 deletions

View File

@@ -126,7 +126,7 @@ VOLUME /data
#### 数据库持久化
```docker
FROM postgres:15
FROM postgres:16
VOLUME /var/lib/postgresql/data
```
@@ -181,7 +181,7 @@ $ docker inspect mycontainer --format '{{json .Mounts}}' | jq
```yaml
services:
db:
image: postgres:15
image: postgres:16
volumes:
# 命名卷(推荐)
@@ -224,7 +224,7 @@ $ docker run -v mysql_data:/var/lib/mysql mysql:8.0
```docker
## 数据库必须使用卷
FROM postgres:15
FROM postgres:16
VOLUME /var/lib/postgresql/data
```