75 lines
2.4 KiB
YAML
75 lines
2.4 KiB
YAML
baiyue:
|
|
deployment:
|
|
region-code: ${REGION_CODE:CN}
|
|
cell: ${DEPLOYMENT_CELL:local-cn}
|
|
data-residency: ${DATA_RESIDENCY:CN}
|
|
security:
|
|
jwt-secret: ${JWT_SECRET:change-me-to-at-least-32-bytes-long-before-start}
|
|
issuer: ${JWT_ISSUER:auth-service}
|
|
internal-service-token: ${INTERNAL_SERVICE_TOKEN:phase1-local-internal-token-at-least-32-bytes}
|
|
token-key-prefix: ${REDIS_TOKEN_KEY_PREFIX:baiyue:auth}
|
|
warehouse:
|
|
public-tenant-id: 0
|
|
openapi.enabled: ${SWAGGER_ENABLED:true}
|
|
audit:
|
|
enabled: true
|
|
endpoint: ${AUDIT_SERVICE_URL:http://127.0.0.1:9700}/internal/audit/events
|
|
outbox:
|
|
enabled: ${AUDIT_OUTBOX_ENABLED:false}
|
|
publisher-enabled: ${AUDIT_OUTBOX_PUBLISHER_ENABLED:false}
|
|
batch-size: ${AUDIT_OUTBOX_BATCH_SIZE:50}
|
|
lease-seconds: ${AUDIT_OUTBOX_LEASE_SECONDS:60}
|
|
max-attempts: ${AUDIT_OUTBOX_MAX_ATTEMPTS:5}
|
|
max-compensations: ${AUDIT_OUTBOX_MAX_COMPENSATIONS:2}
|
|
compensation-delay-minutes: ${AUDIT_OUTBOX_COMPENSATION_DELAY_MINUTES:30}
|
|
retention-days: ${AUDIT_OUTBOX_RETENTION_DAYS:30}
|
|
rocketmq:
|
|
topic: ${MQ_TOPIC_PREFIX:test-}baiyue-audit-event-v1
|
|
send-timeout-ms: ${AUDIT_MQ_SEND_TIMEOUT_MS:3000}
|
|
spring:
|
|
jackson:
|
|
default-property-inclusion: non_null
|
|
deserialization.fail-on-unknown-properties: false
|
|
serialization.write-dates-as-timestamps: false
|
|
data:
|
|
redis:
|
|
host: ${REDIS_HOST:127.0.0.1}
|
|
port: ${REDIS_PORT:6379}
|
|
password: ${REDIS_PASSWORD:}
|
|
database: ${REDIS_DATABASE:0}
|
|
timeout: ${REDIS_TIMEOUT:3s}
|
|
cloud:
|
|
nacos.discovery:
|
|
group: ${NACOS_GROUP:BAIYUE}
|
|
namespace: ${NACOS_NAMESPACE:public}
|
|
openfeign:
|
|
circuitbreaker.enabled: true
|
|
client.config.default:
|
|
connect-timeout: 3000
|
|
read-timeout: 5000
|
|
logging:
|
|
file:
|
|
path: ${LOG_PATH:./logs}
|
|
server:
|
|
shutdown: graceful
|
|
max-http-request-header-size: ${SERVER_MAX_HTTP_REQUEST_HEADER_SIZE:32KB}
|
|
management:
|
|
endpoints.web.exposure.include: health,info,prometheus
|
|
endpoint.health:
|
|
probes.enabled: true
|
|
show-details: always
|
|
mybatis-plus:
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
call-setters-on-nulls: true
|
|
global-config:
|
|
banner: false
|
|
db-config:
|
|
id-type: assign_id
|
|
logic-delete-field: deleted
|
|
logic-delete-value: 1
|
|
logic-not-delete-value: 0
|
|
springdoc:
|
|
api-docs.enabled: ${SWAGGER_ENABLED:true}
|
|
swagger-ui.enabled: ${SWAGGER_ENABLED:true}
|