-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser-service-dev.yml
More file actions
48 lines (45 loc) · 1.08 KB
/
user-service-dev.yml
File metadata and controls
48 lines (45 loc) · 1.08 KB
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
server:
port: 8080
spring:
application:
name: user-service
h2:
console:
enabled: true
settings:
web-allow-others: true
path: /h2-console
datasource:
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:testdb
username: sa
password:
# driver-class-name: org.mariadb.jdbc.Driver
# url: jdbc:mariadb://127.0.0.1:3306/mydb
# username: root
# password: 1234
# zipkin:
# base-url: http://localhost:9411
# enable: true
# sleuth:
# sampler:
# probability: 1.0
# 유레카 클라이언트
eureka:
client:
register-with-eureka: true
fetch-registry: true
# 유저서버 등록, 랜덤포트
# eureka-server-url:
# defaultZone: http://localhost:8761/eureka
service-url:
defaultZone: http://10.10.20.36:8761/eureka
instance:
instance-id: ${spring.cloud.client.hostname}:${spring.application.instance_id:${random.value}}
ip-address: 10.10.20.36
hostname: 10.10.20.36
management:
endpoints:
web:
exposure:
include: refresh, health, beans, httptrace, busrefresh, info