#init commit

This commit is contained in:
ycl
2025-06-15 15:30:28 +08:00
parent 3dc055bb9b
commit cbfc3e5076

View File

@@ -25,6 +25,7 @@ spring.datasource.type=org.apache.tomcat.jdbc.pool.DataSource
# Druid Data Source Config
{{- if eq .dbType "mysql" }}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
hibernate.dialect=org.hibernate.dialect.MySQLDialect
{{- else if eq .dbType "postgresql" }}
spring.datasource.driver-class-name=org.postgresql.Driver
vs.sqlmapper.dialect=postgresql
@@ -43,46 +44,33 @@ hibernate.show_sql=true
vs.sqlmapper.showSql=true
spring.datasource.tomcat.max-age=3600000
spring.jpa.open-in-view=false
spring.redis.host=${REDIS_HOST:redis.byteawake.com}
# flyway
spring.flyway.enabled=false
spring.flyway.outOfOrder=true
spring.flyway.baselineOnMigrate=true
spring.upload.file.path=/data/upload
spring.exception.isHtmlRequired=false
#spring.main.lazy-initialization=true
application.name=libawall
application.name={{ .artifactId }}
mybatis.configuration.map-underscore-to-camel-case=true
spring.url.aaa=http://localhost:8080
spring.websocket.enabled=false
spring.application.name=libawall
spring.application.name={{ .artifactId }}
spring.security.enabled=false
spring.login.security.enableRoleRequired=false
spring.login.security.login=false
spring.security.authignored=/api/**,/rpc/**
#rocketmq
rocketmq.name-server=${ROCKETMQ_HOST:10.0.2.221:9876;10.0.2.222:9876;10.0.2.223:9876}
rocketmq.topic=${DB_DATABASE:hande_test}
rocketmq.consumerGroup=CID_handeTest
rocketmq.tag=*
rocketmq.producer.group=PID_handeTest
#rocketmq.name-server=${ROCKETMQ_HOST:10.0.2.221:9876;10.0.2.222:9876;10.0.2.223:9876}
#rocketmq.topic=${DB_DATABASE:hande_test}
#rocketmq.consumerGroup=CID_handeTest
#rocketmq.tag=*
#rocketmq.producer.group=PID_handeTest
spring.main.allow-circular-references=true
spring.login.security.csrf=false
spring.main.allow-bean-definition-overriding=true
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
#elasticsearch
#essql.hosts=${OPENSEARCH_HOST:10.0.2.221,10.0.2.222,10.0.2.223}
#essql.port=9200
#essql.username=${OPENSEARCH_USER:admin}
#essql.password=${OPENSEARCH_PASSWORD:dnZkaNVK}
#essql.scheme=${OPENSEARCH_SCHEME:https}
#get user config
get_user_uri={}
@@ -94,36 +82,31 @@ out.response.headers=Content-Type
out.host=
#xxljob
xxl.job.admin.addresses=${XXL_JOB_ADMIN_ADDRESS:https://xxljob.teitui.com/xxl-job-admin}
xxl.job.executor.port=9999
xxl.job.executor.appname=handeTest
xxl.job.executor.title=handeTest
xxl.job.accessToken=default_token
xxl.job.admin.username=${XXL_JOB_ADMIN_USER:admin}
xxl.job.admin.password=${XXL_JOB_ADMIN_PASSWORD:123456}
#xxl.job.admin.addresses=${XXL_JOB_ADMIN_ADDRESS:https://xxljob.teitui.com/xxl-job-admin}
#xxl.job.executor.port=9999
#xxl.job.executor.appname=handeTest
#xxl.job.executor.title=handeTest
#xxl.job.accessToken=default_token
#xxl.job.admin.username=${XXL_JOB_ADMIN_USER:admin}
#xxl.job.admin.password=${XXL_JOB_ADMIN_PASSWORD:123456}
#redis
redis-config.pool.hostAndPort=${REDIS_HOST:redis.byteawake.com:6379}
redis-config.pool.password=${REDIS_PASSWORD:}
redis-config.pool.maxTotal=100
redis-config.pool.maxIdle=10
redis-config.pool.minIdle=10
redis-config.pool.maxWaitMillis=10000
redis-config.pool.softMinEvictableIdleTimeMillis=10000
redis-config.pool.testOnBorrow=true
redis-config.pool.testOnReturn=true
redis-config.pool.testWhileIdle=true
redis-config.pool.timeBetweenEvictionRunsMillis=30000
redis-config.pool.minEvictableIdleTimeMillis=1800000
redis-config.pool.numTestsPerEvictionRun=3
redis-config.pool.blockWhenExhausted=true
redis-config.pool.jmxEnabled=true
redis-config.pool.lifo=true
#flow config
liteflow.rule-source=el_json:com.vs.flow.FlowRuleSource
liteflow.print-banner=false
liteflow.monitor.enable-log=true
#redis-config.pool.hostAndPort=${REDIS_HOST:redis.byteawake.com:6379}
#redis-config.pool.password=${REDIS_PASSWORD:}
#redis-config.pool.maxTotal=100
#redis-config.pool.maxIdle=10
#redis-config.pool.minIdle=10
#redis-config.pool.maxWaitMillis=10000
#redis-config.pool.softMinEvictableIdleTimeMillis=10000
#redis-config.pool.testOnBorrow=true
#redis-config.pool.testOnReturn=true
#redis-config.pool.testWhileIdle=true
#redis-config.pool.timeBetweenEvictionRunsMillis=30000
#redis-config.pool.minEvictableIdleTimeMillis=1800000
#redis-config.pool.numTestsPerEvictionRun=3
#redis-config.pool.blockWhenExhausted=true
#redis-config.pool.jmxEnabled=true
#redis-config.pool.lifo=true
#create default table auto
vs.db.basetable.create=true