templates.gateway.bootstrap.yml.ftl Maven / Gradle / Ivy
spring:
main:
allow-circular-references: true
application:
name: ${projectName}-gateway
cloud:
nacos:
discovery:
namespace: ${r'${NACOS_ACTIVE:}'}
server-addr: ${r'${NACOS_HOST:127.0.0.1}'}:${r'${NACOS_PORT:8848}'}
config:
namespace: ${r'${NACOS_ACTIVE:}'}
server-addr: ${r'${spring.cloud.nacos.discovery.server-addr}'}
file-extension: yml
shared-configs:
- application-${r'${spring.profiles.active}'}.${r'${spring.cloud.nacos.config.file-extension}'}
profiles:
active: ${r'${NACOS_ACTIVE:dev}'}