feat(监控): 添加Telegraf监控配置和磁盘监控脚本

refactor(容器): 从Docker迁移到Podman并更新Nomad配置

fix(配置): 修复代理和别名配置问题

docs(文档): 更新配置文件和脚本注释

chore(清理): 移除不再使用的Consul和Docker相关文件
This commit is contained in:
2025-09-24 03:46:30 +00:00
parent 3f45ad8361
commit d0e7f64c1d
92 changed files with 3552 additions and 7737 deletions

View File

@@ -23,17 +23,16 @@ apt-get install -y \
wget \
unzip \
jq \
docker.io \
docker-compose \
podman \
htop \
net-tools \
vim
# 启动 Docker
log "启动 Docker 服务..."
systemctl enable docker
systemctl start docker
usermod -aG docker ubuntu
# 启动 Podman
log "启动 Podman 服务..."
systemctl enable podman
systemctl start podman
usermod -aG podman ubuntu
# 安装 Nomad
log "安装 Nomad ${nomad_version}..."
@@ -85,8 +84,8 @@ server {
client {
enabled = true
host_volume "docker-sock" {
path = "/var/run/docker.sock"
host_volume "podman-sock" {
path = "/run/podman/podman.sock"
read_only = false
}
}
@@ -108,9 +107,8 @@ ports {
serf = 4648
}
plugin "docker" {
plugin "podman" {
config {
allow_privileged = true
volumes {
enabled = true
}