From 064fd8bd5ab037f15bed5dfb4dfe430b19a91793 Mon Sep 17 00:00:00 2001 From: TinyAnts Date: Mon, 23 May 2022 14:16:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/application-example-pro.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 like-framework/like-admin/src/main/resources/application-example-pro.yml diff --git a/like-framework/like-admin/src/main/resources/application-example-pro.yml b/like-framework/like-admin/src/main/resources/application-example-pro.yml new file mode 100644 index 00000000..27dadffd --- /dev/null +++ b/like-framework/like-admin/src/main/resources/application-example-pro.yml @@ -0,0 +1,19 @@ +# 项目配置 +like: + upload-directory: /www/uploads/ # 上传目录 + +# 框架配置 +spring: + # 数据源配置 + datasource: + url: jdbc:mysql://localhost:3306/local_frame?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false + type: com.zaxxer.hikari.HikariDataSource # 数据源类型 + driver-class-name: com.mysql.jdbc.Driver # MySql的驱动 + username: root # 数据库账号 + password: root # 数据库密码 + # Redis配置 + redis: + host: localhost # Redis服务地址 + port: 6379 # Redis端口 + password: # Redis密码 + database: 0 # 数据库索引 \ No newline at end of file