Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 909 Bytes

README.md

File metadata and controls

54 lines (40 loc) · 909 Bytes

docker-sentinel-dashboard

alibaba sentinel dashboard

Sentinel

https://github.com/alibaba/Sentinel

构建步骤

docker build

docker build -t sentinel-dashboard:${version} .

docker run

# 验证
docker run --name sentinel-dashboard -it sentinel-dashboard:${version} sh

docker push

docker login

# tag 
docker tag sentinel-dashboard:${version} fank243/sentinel-dashboard:${version}

# push
docker push fank243/sentinel-dashboard:${version}

docker-compose

version: '3.7'
services:
  sentinel:
    image: fank243/sentinel-dashboard:${version}
    hostname: sentinel
    container_name: sentinel
    restart: unless-stopped
    environment:
      - TZ=Asia/Shanghai
    volumes:
      - ./sentinel.properties:/app/application.properties
      - /home/logs/sentinel:/root/logs/csp
    ports:
      - "8858:8858"
      - "8719:8719"