本项目是Alibaba Sentinel Dashboard Sentinel.
- build:Sentinel Dashboard makes the source code of the docker image
- env: Environment variable file for compose yaml
- docker-compose: Docker compose example for Sentinel Dashboard server
Run the following command:
-
Clone project
git clone https://github.com/xiaojun207/sentinel-dashboard-docker.git
-
Build Image
docker build --build-arg SENTINEL_DASHBOARD_VERSION=1.8.6 -t xiaojun207/sentinel-dashboard:1.8.6 -f build/Dockerfile .
-
Run With docker
docker run -p 8021:8021 -it xiaojun207/sentinel-dashboard:latest
-
Run With docker-compose
docker-compose up
-
Open the Sentinel Dashboard console in your browser
name | description | option |
---|---|---|
SERVER_PORT | server启动的端口 | 默认:8021 |
CONTEXT_PATH | CONTEXT PATH | 默认:/ |
PROJECT_NAME | 项目名称 | sentinel-dashboard |
USERNAME | dashboard登陆用户名 | 默认sentinel |
PASSWORD | dashboard登陆密码 | 默认sentinel |