humanleft
|
bfd6fef24c
|
fix: 覆盖 entrypoint.sh 使 taosadapter 读取配置文件
上游镜像的 entrypoint.sh 启动 taosadapter 时缺少 -c 参数,
导致 /etc/taos/taosadapter.toml 配置未生效。
- 新增 deploy/config/entrypoint.sh,在启动 taosadapter 时添加
-c /etc/taos/taosadapter.toml 参数
- 精简 taosadapter.toml,禁用 keeper 上传和未使用的插件
- 更新 start-tdengine-operator.sh,挂载修改后的 entrypoint.sh
|
2 weken geleden |
humanleft
|
806cdb0a64
|
deploy: taos-explorer 和 iot-platform 改用 host.containers.internal 访问 TDengine
- tdengine-operator 同时启动 taosd + taosadapter(host 网络)
- 删除单独的 taosadapter bridge 容器
- explorer REST API 地址改为 host.containers.internal:6041
- explorer 去掉 cluster_native(bridge 网络 native 连接不可用)
- iot-platform JDBC URL 改为 host.containers.internal:6031
- start-tdengine-operator.sh 不传 taosd 参数,禁用 keeper/explorer
|
2 weken geleden |
humanleft
|
47a20a4280
|
fix: explorer.toml 恢复 REST API cluster,保留 cluster_native 辅助
|
2 weken geleden |
humanleft
|
a7e8f5d60c
|
deploy: taos-explorer 改 native 直连 + taosAdapter 独立容器化
- explorer.toml: 改为 cluster_native 直连 taosd:6031,注释掉 REST API
- 新增 taosadapter.toml: 独立 REST API 服务配置 (port 6041)
- 新增 start-taos-explorer.sh: bridge 网络,挂载数据目录和配置
- 新增 start-taosadapter.sh: bridge 网络,映射 6041 端口
- 新增 start-tdengine-operator.sh: host 网络,仅启动 taosd
- README.md: 更新容器架构、添加 TDengine 管理说明和架构图
|
2 weken geleden |
humanleft
|
a5b7e0823f
|
feat(deploy): 容器网络架构改造 + 配置纳入版本控制
网络架构:
- iot-platform: host -> bridge (新增 -p 8887:8887 端口映射)
- taos-explorer: bridge (新增 /mnt/taos-explorer-data 数据持久化)
- tdengine-operator: 保持 host 网络
配置更新:
- TDengine URL: 127.0.0.1 -> 172.21.185.173 (宿主机内网 IP)
- Redis host: localhost -> ${REDIS_HOST:localhost} 环境变量
- taos.cfg fqdn: 127.0.0.1 -> 172.21.185.173
- explorer.toml cluster: localhost -> 172.21.185.173
部署脚本:
- REMOTE_DIR: /opt/iot-platform -> /mnt/iot-platform
- 日志目录: /opt/iot-platform/logs -> /mnt/iot-platform/logs
- 去掉自动回滚逻辑,保留容器用于排查
- 新增 -p 8887:8887 端口映射
新增服务器配置文件到仓库:
- deploy/Dockerfile
- deploy/start-container.sh
- deploy/config/taos.cfg
- deploy/config/explorer.toml
- deploy/config/tdengine-explorer.conf
- .env (移除 .gitignore 忽略)
|
2 weken geleden |