docker安装sentinel

文章目录

前言

Sentinel 是阿里巴巴开源的一款轻量级流量控制和熔断降级工具,可用于保护分布式系统中的服务。它可以帮助开发人员解决在分布式架构中面临的流量管理、服务保护、性能优化等问题。

安装

docker指令安装

shell 复制代码
docker run -d \
-p 8090:8858 \
--name sentinel \
--restart=always \
-e AUTH_USERNAME=sentinel \
-e AUTH_PASSWORD=your_password \
bladex/sentinel-dashboard:1.8.5

制作docker-compose.yaml文件

yaml 复制代码
version: '3.8'

services:
  sentinel:
    image: bladex/sentinel-dashboard:1.8.5
    container_name: sentinel
    ports:
      - "8090:8858"
    restart: always
    environment:
      - AUTH_USERNAME=sentinel
      - AUTH_PASSWORD=your_password

查看网站

相关推荐
fetasty14 小时前
rustfs加picgo图床搭建
docker
蝎子莱莱爱打怪1 天前
GitLab CI/CD + Docker Registry + K8s 部署完整实战指南
后端·docker·kubernetes
小p2 天前
docker学习7:docker 容器的通信方式
docker
小p2 天前
docker学习5:提升Dockerfile水平的5个技巧
docker
小p2 天前
docker学习3:docker是怎么实现的?
docker
小p4 天前
docker学习: 2. 构建镜像Dockerfile
docker
小p4 天前
docker学习: 1. docker基本使用
docker
崔小汤呀5 天前
Docker部署Nacos
docker·容器
缓解AI焦虑5 天前
Docker + K8s 部署大模型推理服务:资源划分与多实例调度
docker·容器
1candobetter5 天前
Docker Compose Build 与 Up 的区别:什么时候必须重建镜像
docker·容器·eureka