编辑application.yml
nacos配置参数如下:
- nacos:
- # Nacos Server Host
- serverAddr: 10.10.5.145
- # Nacos Server Port
- port: 8848
- # Nacos Configuration Group
- group: 'skywalking'
- # Nacos Configuration namespace
- namespace: ''
- # Unit seconds, sync period. Default fetch every 60 seconds.
- period: 60
- # Nacos auth username
- username: nacos
- password: nacos1@345
- # Nacos auth accessKey
- accessKey: ${SW_CONFIG_NACOS_ACCESSKEY:""}
- secretKey: ${SW_CONFIG_NACOS_SECRETKEY:""}
nacos配置如下: