48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
# Tomcat
|
|
server:
|
|
port: 9004
|
|
# Spring
|
|
spring:
|
|
main:
|
|
allow-circular-references: true
|
|
jackson:
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
time-zone: GMT+8
|
|
application:
|
|
# 应用名称
|
|
name: czk-back
|
|
profiles:
|
|
# 环境配置
|
|
active: dev
|
|
cloud:
|
|
nacos:
|
|
discovery:
|
|
# 服务注册地址
|
|
server-addr: 42.192.106.69:8848
|
|
config:
|
|
# 配置中心地址
|
|
server-addr: 42.192.106.69:8848
|
|
# 配置文件格式
|
|
file-extension: yml
|
|
# 共享配置
|
|
shared-configs:
|
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
# xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
|
|
xxl:
|
|
job:
|
|
admin:
|
|
addresses: http://127.0.0.1:8080/xxl-job-admin
|
|
|
|
# xxl-job, access token
|
|
accessToken: gtt_token
|
|
|
|
# xxl-job executor appname
|
|
executor:
|
|
appname: xxl-job-executor-sample
|
|
address:
|
|
server-info:
|
|
ip:
|
|
port: 9999
|
|
log-path: /data/applogs/xxl-job/jobhandler
|
|
log-retention-days: 30
|