build(docker-compose): zipkin 추가
- api 모니터링을 위한 zipkin 추가
This commit is contained in:
@@ -22,6 +22,14 @@ services:
|
|||||||
- zookeeper
|
- zookeeper
|
||||||
networks:
|
networks:
|
||||||
- justpickup-network
|
- justpickup-network
|
||||||
|
|
||||||
|
zipkin:
|
||||||
|
container_name: zipkin
|
||||||
|
image: openzipkin/zipkin
|
||||||
|
ports:
|
||||||
|
- "9411:9411"
|
||||||
|
networks:
|
||||||
|
- justpickup-network
|
||||||
|
|
||||||
discovery:
|
discovery:
|
||||||
container_name: discovery
|
container_name: discovery
|
||||||
@@ -44,6 +52,7 @@ services:
|
|||||||
- justpickup-network
|
- justpickup-network
|
||||||
environment:
|
environment:
|
||||||
- eureka.client.serviceUrl.defaultZone=http://discovery:8761/eureka/
|
- eureka.client.serviceUrl.defaultZone=http://discovery:8761/eureka/
|
||||||
|
- spring.zipkin.base-url=http://zipkin:9411
|
||||||
depends_on:
|
depends_on:
|
||||||
- discovery
|
- discovery
|
||||||
|
|
||||||
@@ -58,6 +67,7 @@ services:
|
|||||||
- justpickup-network
|
- justpickup-network
|
||||||
environment:
|
environment:
|
||||||
- eureka.client.serviceUrl.defaultZone=http://discovery:8761/eureka/
|
- eureka.client.serviceUrl.defaultZone=http://discovery:8761/eureka/
|
||||||
|
- spring.zipkin.base-url=http://zipkin:9411
|
||||||
depends_on:
|
depends_on:
|
||||||
- discovery
|
- discovery
|
||||||
|
|
||||||
@@ -104,6 +114,7 @@ services:
|
|||||||
- spring.config.import=optional:configserver:http://config:8888
|
- spring.config.import=optional:configserver:http://config:8888
|
||||||
- spring.datasource.url=jdbc:postgresql://postgres:5432/userdb
|
- spring.datasource.url=jdbc:postgresql://postgres:5432/userdb
|
||||||
- spring.redis.host=redis
|
- spring.redis.host=redis
|
||||||
|
- spring.zipkin.base-url=http://zipkin:9411
|
||||||
depends_on:
|
depends_on:
|
||||||
- discovery
|
- discovery
|
||||||
- config
|
- config
|
||||||
@@ -123,6 +134,7 @@ services:
|
|||||||
- spring.datasource.url=jdbc:postgresql://postgres:5432/orderdb
|
- spring.datasource.url=jdbc:postgresql://postgres:5432/orderdb
|
||||||
- kafka.host=172.18.0.101
|
- kafka.host=172.18.0.101
|
||||||
- kafka.port=9092
|
- kafka.port=9092
|
||||||
|
- spring.zipkin.base-url=http://zipkin:9411
|
||||||
depends_on:
|
depends_on:
|
||||||
- discovery
|
- discovery
|
||||||
- config
|
- config
|
||||||
@@ -140,6 +152,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- eureka.client.serviceUrl.defaultZone=http://discovery:8761/eureka/
|
- eureka.client.serviceUrl.defaultZone=http://discovery:8761/eureka/
|
||||||
- spring.datasource.url=jdbc:postgresql://postgres:5432/storedb
|
- spring.datasource.url=jdbc:postgresql://postgres:5432/storedb
|
||||||
|
- spring.zipkin.base-url=http://zipkin:9411
|
||||||
depends_on:
|
depends_on:
|
||||||
- discovery
|
- discovery
|
||||||
- config
|
- config
|
||||||
@@ -156,6 +169,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- eureka.client.serviceUrl.defaultZone=http://discovery:8761/eureka/
|
- eureka.client.serviceUrl.defaultZone=http://discovery:8761/eureka/
|
||||||
- spring.datasource.url=jdbc:postgresql://postgres:5432/notificationdb
|
- spring.datasource.url=jdbc:postgresql://postgres:5432/notificationdb
|
||||||
|
- spring.zipkin.base-url=http://zipkin:9411
|
||||||
depends_on:
|
depends_on:
|
||||||
- discovery
|
- discovery
|
||||||
- config
|
- config
|
||||||
|
|||||||
Reference in New Issue
Block a user