配置文件优化

This commit is contained in:
tanghc
2019-07-18 15:46:37 +08:00
parent 194a39a042
commit 9adfe58b0d
15 changed files with 0 additions and 262 deletions

View File

@@ -1,27 +0,0 @@
server:
port: 8083
# 注册中心地址,根据实际情况改,这里只是参数,并不会去注册
registry:
eureka-server-addr: http://localhost:1111/eureka/
# nacos服务器地址
nacos-server-addr: 127.0.0.1:8848
# 使用eurekaeureka使用nacos填nacos
name: eureka
spring:
application:
name: website-server
cloud:
zookeeper:
connect-string: localhost:2181
api:
# 测试地址
url-test: http://api-test.yourdomain.com/api
# 沙箱环境
url-sandbox: http://localhost:8081/api
# 正式地址
url-prod: http://open.yourdomain.com/api
pwd: doc#123

View File

@@ -1,3 +0,0 @@
spring:
profiles:
active: dev