-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauth-ms.yml
More file actions
64 lines (58 loc) · 1.42 KB
/
auth-ms.yml
File metadata and controls
64 lines (58 loc) · 1.42 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
server:
port: 8081
spring:
r2dbc:
url: r2dbc:postgresql://${DB_HOST:postgres-auth}:${DB_PORT:5432}/${DB_NAME:auth_db}
username: ${DB_USERNAME:postgres}
password: ${DB_PASSWORD:postgres}
properties:
ssl: false
security:
filter:
order: -100
grpc:
server:
port: 9091
in-process-name: auth-service
eureka:
client:
service-url:
defaultZone: ${EUREKA_URI:http://service-discovery:8761/eureka/}
fetch-registry: true
register-with-eureka: true
instance:
prefer-ip-address: true
hostname: ${HOSTNAME:localhost}
instance-id: ${spring.application.name}:${random.uuid}
appname: ${spring.application.name}
jwt:
secret: ${JWT_SECRET:8e03811e9e3cbfdaae5ff8f8e04417e1a50e1d31abb44ebf1ebaf6e7ade6c635}
access-token-expiration: 1800000 # 30 minutos
refresh-token-expiration: 604800000 # 7 días
kafka:
bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS:kafka:9092}
topics:
verification-code: user-verification-code
welcome: user-welcome
password-reset: user-password-reset
logging:
level:
com.uguimar.authms: DEBUG
org.springframework.security: INFO
org.springframework.data.r2dbc: INFO
reactor.netty: INFO
management:
endpoints:
web:
exposure:
include: "*"
endpoint:
health:
show-details: always
tracing:
sampling:
probability: 1.0
prometheus:
metrics:
export:
enabled: true