zipkin docker 运行
内容纲要
简单docker运行
docker run -d -p 9411:9411 openzipkin/zipkin
docker 结合mysql
创建一个docker-compose.yml
version: '2'
services:
zipkin:
image: openzipkin/zipkin
container_name: zipkin
environment:
- STORAGE_TYPE=mysql
- MYSQL_DB=zipkin
- MYSQL_USER=root
- MYSQL_PASS=password
- MYSQL_HOST=192.168.101.108
- MYSQL_TCP_PORT=3306
ports:
- 9411:9411
运行docker-compose up -d
共有 0 条评论