You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
811 B
30 lines
811 B
server.port=8083
|
|
spring.application.name=website-server
|
|
|
|
# ------- 需要改的配置 -------
|
|
|
|
# eureka注册中心地址
|
|
eureka.url=http://localhost:1111/eureka/
|
|
# zookeeper地址
|
|
zookeeper.url=localhost:2181
|
|
# nacos地址
|
|
nacos.url=127.0.0.1:8848
|
|
|
|
# ------- 需要改的配置end -------
|
|
|
|
# 注册中心地址,根据实际情况改,这里只是参数,并不会去注册
|
|
registry.eureka-server-addr=${eureka.url}
|
|
# nacos服务器地址
|
|
registry.nacos-server-addr=${nacos.url}
|
|
# 使用eureka,填:eureka,使用nacos填:nacos
|
|
registry.name=eureka
|
|
|
|
spring.cloud.zookeeper.connect-string=${zookeeper.url}
|
|
|
|
# 测试环境
|
|
api.url-test=http://api-test.yourdomain.com/api
|
|
# 沙箱环境
|
|
api.url-sandbox=http://localhost:8081/api
|
|
# 正式环境
|
|
api.url-prod=http://open.yourdomain.com/api
|
|
api.pwd=doc#123
|
|
|