-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser-service.yml
More file actions
42 lines (36 loc) · 854 Bytes
/
user-service.yml
File metadata and controls
42 lines (36 loc) · 854 Bytes
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
server:
port: 8081
spring:
application:
name: user-service
datasource:
url: jdbc:mysql://localhost:3306/user_db?createDatabaseIfNotExist=true&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: root
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
ddl-auto: update # You can use 'create', 'validate', or 'none' in prod
show-sql: true
database-platform: org.hibernate.dialect.MySQL8Dialect
properties:
hibernate:
format_sql: true
open-in-view: false
output:
ansi:
enabled: ALWAYS
management:
endpoints:
web:
exposure:
include: "*"
endpoint:
health:
show-details: always
eureka:
client:
register-with-eureka: true
fetch-registry: true
service-url:
defaultZone: http://localhost:8761/eureka