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

38 lines
1.3 KiB
YAML
Raw Normal View History

2026-07-30 18:01:36 +08:00
server:
port: ${PRINT_PORT:9207}
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: print-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}
config.namespace: ${NACOS_NAMESPACE}
2026-07-30 18:01:36 +08:00
baiyue:
security:
2026-08-04 18:54:22 +08:00
internal-service-token: ${INTERNAL_SERVICE_TOKEN:}
print:
pdf:
max-pages: ${PRINT_PDF_MAX_PAGES:2000}
max-request-bytes: ${PRINT_PDF_MAX_REQUEST_BYTES:2097152}
max-output-bytes: ${PRINT_PDF_MAX_OUTPUT_BYTES:33554432}
max-concurrent-generations: ${PRINT_PDF_MAX_CONCURRENT_GENERATIONS:4}
acquire-timeout: ${PRINT_PDF_ACQUIRE_TIMEOUT:1s}
template-code: INBOUND_MARK_V1
supported-width-mm: 100
supported-height-mm: 100
font-resource: fonts/NotoSansSC-Bold.ttf
2026-07-30 18:01:36 +08:00
management.endpoints.web.exposure.include: health,info,prometheus