parent
							
								
									be4868ba01
								
							
						
					
					
						commit
						39c2f1a1c2
					
				| @ -0,0 +1,24 @@ | ||||
| server.port=8087 | ||||
| spring.application.name=sop-auth | ||||
| 
 | ||||
| # ------- 需要改的配置 ------- | ||||
| # mysql数据库账号 | ||||
| mysql.username=root | ||||
| mysql.password=root | ||||
| 
 | ||||
| # nacos地址 | ||||
| nacos.url=127.0.0.1:8848 | ||||
| 
 | ||||
| # ------- 需要改的配置end ------- | ||||
| 
 | ||||
| # nacos cloud配置 | ||||
| spring.cloud.nacos.discovery.server-addr=${nacos.url} | ||||
| 
 | ||||
| spring.datasource.driver-class-name=com.mysql.jdbc.Driver | ||||
| spring.datasource.url=jdbc:mysql://localhost:3306/sop?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull | ||||
| spring.datasource.username=${mysql.username} | ||||
| spring.datasource.password=${mysql.password} | ||||
| 
 | ||||
| spring.thymeleaf.cache=false | ||||
| 
 | ||||
| logging.level.com.gitee=debug | ||||
| @ -1,42 +0,0 @@ | ||||
| 
 | ||||
| server: | ||||
|   port: 8087 | ||||
| 
 | ||||
| 
 | ||||
| # 注册中心 | ||||
| eureka: | ||||
|   port: 1111 | ||||
|   host: localhost | ||||
|   client: | ||||
|     serviceUrl: | ||||
|       defaultZone: http://${eureka.host}:${eureka.port}/eureka/ | ||||
| 
 | ||||
| spring: | ||||
|   application: | ||||
|     name: sop-auth | ||||
| 
 | ||||
|   cloud: | ||||
|     zookeeper: | ||||
|       connect-string: localhost:2181 | ||||
| 
 | ||||
|   # 数据源 | ||||
|   datasource: | ||||
|     driver-class-name: com.mysql.jdbc.Driver | ||||
|     url: jdbc:mysql://localhost:3306/sop?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull | ||||
|     username: root | ||||
|     password: root | ||||
| 
 | ||||
|   thymeleaf: | ||||
|     cache: false | ||||
| 
 | ||||
|   # redis设置 | ||||
| #  redis: | ||||
| #    host: localhost | ||||
| #    database: 0 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| logging: | ||||
|   level: | ||||
|     com: | ||||
|       gitee: debug | ||||
| @ -0,0 +1 @@ | ||||
| spring.profiles.active=dev | ||||
| @ -1,3 +0,0 @@ | ||||
| spring: | ||||
|   profiles: | ||||
|     active: dev | ||||
					Loading…
					
					
				
		Reference in new issue