Files
SOP/sop-website/website-server/src/main/resources/application-dev.yml
2019-07-01 16:41:37 +08:00

26 lines
612 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server:
port: 8083
# 注册中心地址,根据实际情况改,这里只是参数,并不会去注册
registry:
# 使用哪个配置中心使用eureka填eureka使用nacos填nacos
name: nacos
eureka-server-addr: http://localhost:1111/eureka/
nacos-server-addr: 127.0.0.1:8848
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