更新 template/entrance/web/src/main/resources/application-local.properties

This commit is contained in:
ycl
2025-10-31 18:29:39 +08:00
parent 5d21c95716
commit 102bcd3ead

View File

@@ -1,13 +1,6 @@
server.port=8082
endpoints.enabled=false
server.forward-headers-strategy=framework
#custom corss-domain headers, split by ','
cross.domain.headers=
#spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
base.package={{.groupId}}
mock.enabled=true
# ?????
#datasource
{{- if eq .dbType "oracle" }}
spring.datasource.url=jdbc:oracle:thin:@//{{ .dbHost }}:{{ .dbPort }}/ORCLCDB
@@ -21,93 +14,4 @@ spring.datasource.url=jdbc:dm://${ .dbHost }/${ .dbPort }/SYSDBA?characterEncodi
spring.datasource.username=${DB_USER:hande_test_user}
spring.datasource.password=${DB_PASSWORD:Yu0FvhjUQDGdnmm5}
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
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
{{- else if eq .dbType "oracle" }}
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
vs.sqlmapper.dialect=oracle
{{- else if eq .dbType "dm" }}
spring.datasource.driver-class-name=dm.jdbc.driver.DmDriver
hibernate.dialect=org.hibernate.dialect.DmDialect
vs.sqlmapper.dialect=dm
{{- end }}
hibernate.show_sql=true
vs.sqlmapper.showSql=true
spring.datasource.tomcat.max-age=3600000
spring.jpa.open-in-view=false
spring.upload.file.path=/data/upload
spring.exception.isHtmlRequired=false
#spring.main.lazy-initialization=true
application.name={{ .artifactId }}
mybatis.configuration.map-underscore-to-camel-case=true
spring.url.aaa=http://localhost:8080
spring.websocket.enabled=false
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
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
#get user config
get_user_uri={}
#request header
out.request.headers=
#response header
out.response.headers=Content-Type
#eg:https://vsstudio.teitui.com
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}
#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
#create default table auto
vs.db.basetable.create=true
spring.datasource.tomcat.max-age=3600000