-
Notifications
You must be signed in to change notification settings - Fork 0
/
cache-service-localNoDocker.yml
42 lines (36 loc) · 1.05 KB
/
cache-service-localNoDocker.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
# Docker desktop localNoDocker configuration
# Last update July 2023 (rlh)
server:
port: 8351
eureka:
client:
healthcheck:
enabled: true # this must be true because it is a service
serviceUrl:
defaultZone: http://localhost:8070/eureka/
spring:
cloud:
stream:
kafka:
binder:
brokers: http://localhost:9092
management:
tracing:
sampling:
probability: 1.0 # only for testing purpose, switch back to 0.1 for production code
zipkin:
tracing:
endpoint: http://localhost:9411/api/v2/spans
#Back-end microservices
microservice:
param:
provider-uri: http://localhost:8072/param # use the gateway
# provider-uri: http://localhost:8350 # no use gateway, because is backoffice microservice communication
# we prefer to skip the gateway. Depends on system security
#Redis database
redis:
server: localhost
port: 6379
# Testing what environment we are using
cache:
greeting: "Welcome to cache microservice from the config server, 'localNoDocker configuration'."