nacos-viper-remote/example_config.yaml

20 lines
472 B
YAML
Raw Normal View History

2021-04-29 19:54:59 +08:00
yoyogo:
application:
name: yoyogo_demo_dev
cloud:
discovery:
cache:
ttl: 30 # seconds
strategy: "round-robin" # round-robin , weight-time , random
type: "nacos"
metadata:
url: "120.53.133.30"
port: 80
namespace: "public"
group: "DEFAULT_GROUP"
configserver:
dataId: "config_dev"
auth:
enable: true
username: "root"
password: "1234"