Files
baiyue-firstleg/iam/src/main/resources/application.yml
T

40 lines
1.3 KiB
YAML
Raw Normal View History

2026-07-30 18:01:36 +08:00
server:
port: ${IAM_PORT:9201}
spring:
2026-07-31 11:02:03 +08:00
profiles:
2026-09-29 18:47:37 +08:00
active: ${SPRING_PROFILES_ACTIVE:test}
2026-07-30 18:01:36 +08:00
application:
name: iam-service
config:
import:
2026-09-29 18:47:37 +08:00
- nacos:baiyue-common.yml?group=${NACOS_GROUP:BAIYUE}&refreshEnabled=true
- nacos:${spring.application.name}.yml?group=${NACOS_GROUP:BAIYUE}&refreshEnabled=true
2026-07-30 18:01:36 +08:00
cloud:
nacos:
2026-09-29 18:47:37 +08:00
server-addr: ${NACOS_SERVER_ADDR}
username: ${NACOS_USERNAME}
password: ${NACOS_PASSWORD}
2026-07-30 18:01:36 +08:00
discovery:
enabled: ${NACOS_DISCOVERY_ENABLED:true}
register-enabled: ${NACOS_REGISTER_ENABLED:true}
group: ${NACOS_GROUP:BAIYUE}
2026-09-29 18:47:37 +08:00
namespace: ${NACOS_NAMESPACE}
2026-07-30 18:01:36 +08:00
config:
2026-09-29 18:47:37 +08:00
namespace: ${NACOS_NAMESPACE}
2026-08-01 12:02:01 +08:00
encode: UTF-8
2026-07-30 18:01:36 +08:00
baiyue:
2026-08-25 16:40:48 +08:00
security-event:
2026-08-25 16:41:02 +08:00
customer-dimension-initialization:
fixed-delay-ms: ${CUSTOMER_DIMENSION_INITIALIZATION_FIXED_DELAY_MS:5000}
max-attempts: ${CUSTOMER_DIMENSION_INITIALIZATION_MAX_ATTEMPTS:12}
2026-08-12 18:49:46 +08:00
notification:
scheduler-enabled: ${NOTIFICATION_SCHEDULER_ENABLED:false}
2026-08-12 19:42:08 +08:00
dispatch-timeout-seconds: ${NOTIFICATION_DISPATCH_TIMEOUT_SECONDS:300}
2026-08-12 18:49:46 +08:00
mq-consumer-enabled: ${NOTIFICATION_MQ_CONSUMER_ENABLED:false}
2026-07-30 18:01:36 +08:00
clients:
auth:
url: ${AUTH_SERVICE_URL:}
security:
2026-09-29 18:47:37 +08:00
internal-service-token: ${INTERNAL_SERVICE_TOKEN}
2026-07-30 18:01:36 +08:00
management.endpoints.web.exposure.include: health,info,prometheus