-
Notifications
You must be signed in to change notification settings - Fork 0
/
auth-service-dev.yml
97 lines (94 loc) · 2.11 KB
/
auth-service-dev.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
server:
port: 9093
eureka:
client:
serviceUrl:
defaultZone: http://localhost:9091/eureka/
security:
oauth2:
client:
access-token-validity-seconds: 1800
authorized-grant-types: password,refresh_token
client-id: mixedSalad
client-secret: $2a$10$p9Paskd33kggkadgadknqeqe9999qdq2dk0fQNAQSesI4vuvKA0OZanDD2
resource-ids: resources
scope: read,write
# accessTokenUri: http://localhost:9093/auth/oauth/token
# userAuthorizationUri: http://localhost:9093/auth/oauth/authorize
# resource:
# userInfoUri: http://localhost:9093/auth/user/me
# Injected properties
auth:
redirectionUrl: http://localhost:9093/auth
emailFrom: noreply@example.com
corsAllowedOrigins: "*"
management:
endpoints:
web:
base-path: /
exposure:
include: "*"
jmx:
exposure:
include: "*"
endpoint:
health:
show-details: always
shutdown:
enabled: false
metrics:
enabled: true
prometheus:
enabled: true
jmx:
enabled: true
health:
mongo:
enabled: false
spring:
application:
name: auth-service
profiles:
active: dev
zipkin:
base-url: http://localhost:9095/
cloud:
boot:
admin:
client:
url: http://localhost:9094/admin
username: "user"
password: "password"
jackson:
time-zone: America/Sao_Paulo
datasource:
hikari:
maximum-pool-size: 25
url: jdbc:h2:file:./dbs/auth-app;DB_CLOSE_ON_EXIT=TRUE
platform: h2
username: authapp
password: authapp
driverClassName: org.h2.Driver
jpa:
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: none
properties:
hibernate:
show_sql: false
use_sql_comments: false
format_sql: false
type: trace
jdbc:
time_zone: America/Sao_Paulo
h2:
console:
enabled: true
path: /console
settings:
trace: false
web-allow-others: true
logging:
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} ${LOG_LEVEL_PATTERN:-%5p} %m%n"
file: logs/auth-service.log