-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
50 lines (49 loc) · 1.47 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '3.7'
services:
blog_service:
image: mysql:5.7
ports:
- 3306:3306
command: --init-file /data/application/init.sql
volumes:
- ./storage/dbdata:/var/lib/mysql
- ./scripts/init.sql:/data/application/init.sql
container_name: blog_service
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=root
- TZ=Asia/Shanghai
- MYSQL_DATABASE=blog_service
- MYSQL_USER=blog_service
- MYSQL_PASSWORD=blog_service
restart: unless-stopped
jaeger:
image: jaegertracing/all-in-one:1.16
ports:
- "5775:5775/udp" # compact协议接收zipkin.thrift数据
- "6831:6831/udp" # compact协议接收jaeger.thrift数据
- "6832:6832/udp" # 以binary协议接收jaeger.thrift数据
- "5778:5778" # Jaeger 的服务端配置端口
- "16686:16686" # web UI
- "14269:14268" # 通过Client接收jaeger.thrift数据
- "9411:9411" # 兼容 Zipkin 的HTTP端口
# networks:
# - jaeger-example
# hotrod:
# image: jaegertracing/example-hotrod:latest
# ports:
# - "8080:8080"
# command: ["all"]
# environment:
# - JAEGER_AGENT_HOST=jaeger
# # Note: if your application is using Node.js Jaeger Client, you need port 6832,
# # unless issue https://github.com/jaegertracing/jaeger/issues/1596 is resolved.
# - JAEGER_AGENT_PORT=6831
# networks:
# - jaeger-example
# depends_on:
# - jaeger
#
#networks:
# jaeger-example: