修改运行环境配置。

master
Tom Li 2 weeks ago
parent b5b6c2b131
commit 19ebbb9a60
  1. 4
      src/main/resources/application-dev.yml
  2. 2
      src/main/resources/application.yml

@ -6,7 +6,7 @@ spring:
host: 127.0.0.1 host: 127.0.0.1
port: 6379 port: 6379
password: password:
database: 0 database: 1
ssl: ssl:
enabled: false enabled: false
##redis 集群环境配置 ##redis 集群环境配置
@ -17,7 +17,7 @@ spring:
# MySql # MySql
url: jdbc:mysql://localhost:3306/jinchao?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true url: jdbc:mysql://localhost:3306/jinchao?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: root username: root
password: 123456 password: mysql123456
# PostgreSQL # PostgreSQL
#url: jdbc:postgresql://127.0.0.1:5432/bladex_boot #url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
#username: postgres #username: postgres

@ -1,6 +1,6 @@
#服务器配置 #服务器配置
server: server:
port: 80 port: 8090
undertow: undertow:
threads: threads:
# 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程 # 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程

Loading…
Cancel
Save