-
Notifications
You must be signed in to change notification settings - Fork 48
/
delivery-auth-server.yml
executable file
·40 lines (37 loc) · 1.08 KB
/
delivery-auth-server.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
server:
port: 9092
eureka:
instance:
hostname: localhost
port: 9091
client:
registerWithEureka: true
fetchRegistry: false
serviceUrl:
defaultZone: http://${eureka.instance.hostname}:${eureka.instance.port}/eureka/
server:
wait-time-in-ms-when-sync-empty: 3000
security:
oauth2:
client:
access-token-validity-seconds: 1800
authorized-grant-types: password,refresh_token
client-id: coderef
client-secret: $2a$10$p9Pk0fQNAQSesI4vuvKA0OZanDD2
resource-ids: resources
scope: read,write
spring:
datasource:
data: classpath:/sql/data.sql
driver-class-name: com.mysql.jdbc.Driver
password: '1234'
platform: mysql
schema: classpath:/sql/schema.sql
url: jdbc:mysql://localhost/oauth?verifyServerCertificate=false&useSSL=false&requireSSL=false
username: root
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
generate-ddl: false
hibernate:
ddl-auto: none
show-sql: true