添加docker容器化部署,配置区分dev和prod环境

This commit is contained in:
zhh
2018-08-20 17:06:18 +08:00
parent 7ece991396
commit 8cb20508e8
22 changed files with 397 additions and 112 deletions

View 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===