添加docker容器化部署,配置区分dev和prod环境
This commit is contained in:
10
mall-search/src/main/resources/application-dev.properties
Normal file
10
mall-search/src/main/resources/application-dev.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#===datasource start===
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
#===datasource end===
|
||||
|
||||
#===es start===
|
||||
spring.data.elasticsearch.repositories.enabled = true
|
||||
spring.data.elasticsearch.cluster-nodes = 127.0.0.1:9300
|
||||
#===es end===
|
||||
Reference in New Issue
Block a user