se-collect/src/main/resources/application-prod.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
se-collect/src/main/resources/mybatis.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
se-discover/src/main/resources/mybatis.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
se-publish/src/main/resources/mybatis.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
se-system/src/main/resources/application-dev.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
se-system/src/main/resources/application-prod.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
se-system/src/main/resources/application-test.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
se-system/src/main/resources/mybatis.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
sm.txt | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
se-collect/src/main/resources/application-prod.yml
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,81 @@ server: tomcat: uri-encoding: UTF-8 max-connections: 5000 max-http-form-post-size: 100MB threads: max: 2000 servlet: context-path: / spring: # redis redis: database: 0 host: 192.168.11.203 port: 6379 password: rediS_5L#F4_Server timeout: 10000 lettuce: pool: max-active: 1000 max-wait: -1 max-idle: 10 min-idle: 5 # session session: timeout: PT20M # servlet servlet: multipart: enabled: true max-file-size: 204800MB max-request-size: 1048576MB # jackson jackson: time-zone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss locale: zh_CN # datasource datasource: type: com.alibaba.druid.pool.DruidDataSource url: jdbc:postgresql://192.168.11.203:5432/jhs?useAffectedRows=true username: postgres password: Postgres!_17_jHs driver-class-name: org.postgresql.Driver platform: POSTGRESQL filters: stat,wall,log4j connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 logAbandoned: true # druid druid: initial-size: 5 min-idle: 5 max-active: 100 max-wait: 60000 time-between-eviction-runs-millis: 60000 min-evictable-idle-time-millis: 300000 max-pool-prepared-statement-per-connection-size: 50 pool-prepared-statements: true validation-query: SELECT 1 test-while-idle: true test-on-borrow: false test-on-return: false filters: stat,wall stat-view-servlet: enabled: false mybatis-plus: config-location: classpath:mybatis.xml logging: config: classpath:logback.xml remote: maxTotalConnect: 0 maxConnectPerRoute: 1000 connectTimeout: 30000 readTimeout: -1 sys: swaggerEnable: true se-collect/src/main/resources/mybatis.xml
@@ -32,6 +32,11 @@ <setting name="logImpl" value="NO_LOGGING" /> </settings> <typeAliases> <!--âç±»åå«åé ç½®--> <package name="com.terra.collect.entity"/> </typeAliases> <mappers> <!--Mapperæä»¶ä½ç½®é ç½®--> <mapper resource="mapper/**/*.xml" /> </mappers> </configuration> se-discover/src/main/resources/mybatis.xml
@@ -32,6 +32,11 @@ <setting name="logImpl" value="NO_LOGGING" /> </settings> <typeAliases> <package name="com.terra.discover.entity"/> <!--âç±»åå«åé ç½®--> <package name="com.terra.collect.entity"/> </typeAliases> <mappers> <!--Mapperæä»¶ä½ç½®é ç½®--> <mapper resource="mapper/**/*.xml" /> </mappers> </configuration> se-publish/src/main/resources/mybatis.xml
@@ -32,6 +32,11 @@ <setting name="logImpl" value="NO_LOGGING" /> </settings> <typeAliases> <package name="com.terra.publish.entity"/> <!--âç±»åå«åé ç½®--> <package name="com.terra.collect.entity"/> </typeAliases> <mappers> <!--Mapperæä»¶ä½ç½®é ç½®--> <mapper resource="mapper/**/*.xml" /> </mappers> </configuration> se-system/src/main/resources/application-dev.yml
ÎļþÒÑɾ³ý se-system/src/main/resources/application-prod.yml
@@ -9,15 +9,13 @@ context-path: / spring: application: name: se-system mvc: static-path-pattern: /static/** # redis redis: database: 0 host: 192.168.11.203 port: 6379 host: 127.0.0.1 port: 6369 password: rediS_5L#F4_Server # è¿æ¥è¶ æ¶æ¶é¿ï¼æ¯«ç§ï¼ timeout: 10000 @@ -51,9 +49,11 @@ # datasource datasource: type: com.alibaba.druid.pool.DruidDataSource url: jdbc:postgresql://192.168.11.203:5432/jhs?useAffectedRows=true #url: jdbc:postgresql://192.168.11.205:5433/jhs?useAffectedRows=true url: jdbc:postgresql://127.0.0.1:5433/jhs?useAffectedRows=true username: postgres password: Postgres!_17_jHs #password: Postgres!_14_Lf password: postgres driver-class-name: org.postgresql.Driver platform: POSTGRESQL filters: stat,wall,log4j @@ -85,8 +85,6 @@ mybatis-plus: type-aliases-package: com.terra.system.entity config-location: classpath:mybatis.xml mapper-locations: classpath:mapper/**/*.xml # logging logging: se-system/src/main/resources/application-test.yml
ÎļþÒÑɾ³ý se-system/src/main/resources/mybatis.xml
@@ -32,6 +32,11 @@ <setting name="logImpl" value="NO_LOGGING" /> </settings> <typeAliases> <package name="com.terra.system.entity"/> <!--âç±»åå«åé ç½®--> <package name="com.terra.collect.entity"/> </typeAliases> <mappers> <!--Mapperæä»¶ä½ç½®é ç½®--> <mapper resource="mapper/**/*.xml" /> </mappers> </configuration> sm.txt
@@ -1,6 +1,13 @@ ------------------------------------------------------------------- ------------------------------------------------------------------- åè½æ¨¡åï¼æ¯æç¬ç«é¨ç½² se-commonï¼ éç¨æ¨¡å se-gatewayï¼8001ï¼ç³»ç»ç½å ³ @@ -9,7 +16,7 @@ se-discoverï¼8004ï¼ç¥è¯åç° se-publishï¼8005ï¼æ°æ®åå¸ ------------------------------------------------------------------- URL admin:Admin@1234_lf adminï¼Admin@1234_lf nacosï¼nAcos_!9#_admIn http://localhost:8848/nacos