herodotus/sentinel-dashboardBased on the expansion and transformation of the latest version of Spring cloud Alibaba Sentinel Dashboard, it supports the persistent storage of micro service traffic monitoring data to the InfluxDB timing database, and supports the storage of traffic control through the Sentinel Dashboard interface to Nacos. The timing data storage is implemented based on the version of InfluxDB 1.x, and Nacos only supports 2.x.
By default, the original memory mode of sentinel dashboard is used for storage, and the InfluxDB and Nacos storage mechanisms can be dynamically turned on or off through configuration parameters.
docker pull herodotus/sentinel-dashboard:tagname
docker run --name sentinel -d -p 8858:8858 -d herodotus/sentinel-dashboard:tagname
| Variables | Default Value | Required | Remarks |
|---|---|---|---|
| JAVA_OPTS | false | JVM operating parameters | |
| SENTINEL_ADMIN_USERNAME | sentinel | false | Sentinel Dashboard administrator user name |
| SENTINEL_ADMIN_PASSWORD | sentinel | false | Sentinel Dashboard Administrator user password |
| Variables | Default Value | Required | Remarks |
|---|---|---|---|
| INFLUXDB_URL | false | InfluxDB connection address,format:http(s)://ip:port | |
| INFLUXDB_USERNAME | false | InfluxDB user name | |
| INFLUXDB_PASSWORD | false | InfluxDB user password | |
| INFLUXDB_DATABASE | false | IInfluxDB database |
NOTE: you need to set INFLUXDB_URL、INFLUXDB_USERNAME 、INFLUXDB_PASSWORD 、INFLUXDB_DATABASE these four parameters enable the InfluxDB storage mode. Otherwise, the default memory storage mode is used.
| Variables | Default Value | Required | Remarks |
|---|---|---|---|
| NACOS_SERVER_ADDRESS | false | Nacos Server address,format:ip:port | |
| NACOS_CONFIG_DATA_ID_SUFFIX | -flow-rules | false | Nacos storage configuration data ID suffix, which is used to distinguish the purpose of different configurations。e.g. xxx-service-flow-rules |
| NACOS_CONFIG_NAMESPACE | false | Nacos namespaces,The ID of the namespace, not the name of the namespace | |
| NACOS_CONFIG_GROUP | sentinel | false | Nacos group |
| NACOS_CONFIG_TYPE | json | false | Nacos configuration type,See for details:com.alibaba.nacos.api.config.ConfigType |
| NACOS_ADMIN_USERNAME | nacos | false | Nacos Username(Configuration is only required after enabling authentication) |
| NACOS_ADMIN_PASSWORD | nacos | false | Nacos Password(Configuration is only required after enabling authentication) |
| NACOS_AUTH_ENABLED | false | false | Does Nacos enable authentication |
| NACOS_TOKEN_TTL | *** | false | Nacos Token ttl(Configuration is only required after enabling authentication) |
NOTE: The Nacos storage mode is enabled only after setting NACOS_SERVER_ADDRESS parameters. Otherwise, the default memory storage mode is used.
version: "3" services: sentinel: image: herodotus/sentinel-dashboard:latest container_name: sentinel-dashboard environment: SENTINEL_ADMIN_USERNAME: herodotus SENTINEL_ADMIN_PASSWORD: herodotus INFLUXDB_URL: [***] INFLUXDB_USERNAME: herodotus INFLUXDB_PASSWORD: herodotus INFLUXDB_DATABASE: sentinel NACOS_SERVER_ADDRESS: [***] NACOS_CONFIG_DATA_ID_SUFFIX: -flow-rules ports: - "8858:8858"
[***]
基于最新版 Spring Cloud Alibaba Sentinel Dashboard 扩展 改造,支持微服务流量监控数据持久化存储到 Influxdb 时序数据库,支持通过 Sentinel Dashboard 界面存储流量控制配置至至 Nacos 中。
时序数据存储基于 Influxdb v1.X 版本实现,Nacos 目前仅支持 v2.X 版本。默认使用 Sentinel Dashboard 原有内存方式存储,可通过配置参数动态开启或关闭 Influxdb 和 Nacos 存储机制。
docker pull herodotus/sentinel-dashboard:tagname
docker run --name sentinel -d -p 8858:8858 -d herodotus/sentinel-dashboard:tagname
| 变量 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|
| JAVA_OPTS | false | JVM相关运行参数 | |
| SENTINEL_ADMIN_USERNAME | sentinel | false | Sentinel Dashboard 管理员用户名 |
| SENTINEL_ADMIN_PASSWORD | sentinel | false | Sentinel Dashboard 管理员密码 |
| 变量 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|
| INFLUXDB_URL | false | InfluxDB 连接地址,格式:http(s)://ip:port | |
| INFLUXDB_USERNAME | false | InfluxDB 用户名 | |
| INFLUXDB_PASSWORD | false | InfluxDB 密码 | |
| INFLUXDB_DATABASE | false | IInfluxDB 数据库 |
注意: 需要同时设置 INFLUXDB_URL、INFLUXDB_USERNAME 、INFLUXDB_PASSWORD 、INFLUXDB_DATABASE 这四个参数,才会开启 InfluxDB 存储方式,否则还是使用默认的内存存储方式。
| 变量 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|
| NACOS_SERVER_ADDRESS | false | Nacos Server 地址,格式:[***] | |
| NACOS_CONFIG_DATA_ID_SUFFIX | -flow-rules | false | Nacos 存储配置Data ID后缀名,用于区分配置的用途。例如:xxx-service-flow-rules |
| NACOS_CONFIG_NAMESPACE | false | Nacos 命名空间设置,对应 Nacos 的命名空间的ID,而不是命名空间的名称 | |
| NACOS_CONFIG_GROUP | sentinel | false | Nacos 配置 Group |
| NACOS_CONFIG_TYPE | json | false | Nacos 配置类型,具体参见:com.alibaba.nacos.api.config.ConfigType |
| NACOS_ADMIN_USERNAME | nacos | false | Nacos 用户名(开启认证后才需要配置) |
| NACOS_ADMIN_PASSWORD | nacos | false | Nacos 密码(开启认证后才需要配置) |
| NACOS_AUTH_ENABLED | false | false | Nacos 是否开启认证 |
| NACOS_TOKEN_TTL | *** | false | Nacos Token 有效时间(开启认证后才需要配置) |
注意: 设置 NACOS_SERVER_ADDRESS 参数,才会开启 Nacos 存储方式,否则还是使用默认的内存存储方式。
version: "3" services: sentinel: image: herodotus/sentinel-dashboard:latest container_name: sentinel-dashboard environment: SENTINEL_ADMIN_USERNAME: herodotus SENTINEL_ADMIN_PASSWORD: herodotus INFLUXDB_URL: [***] INFLUXDB_USERNAME: herodotus INFLUXDB_PASSWORD: herodotus INFLUXDB_DATABASE: sentinel NACOS_SERVER_ADDRESS: [***] NACOS_CONFIG_DATA_ID_SUFFIX: -flow-rules ports: - "8858:8858"
[***]
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像服务
在 Docker Desktop 配置镜像
Docker Compose 项目配置
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
MacOS OrbStack 容器配置
在宝塔面板一键配置镜像
Synology 群晖 NAS 配置
飞牛 fnOS 系统配置镜像
极空间 NAS 系统配置服务
爱快 iKuai 路由系统配置
绿联 NAS 系统配置镜像
QNAP 威联通 NAS 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
来自真实用户的反馈,见证轩辕镜像的优质服务