2026-04-21 14:11:01 +08:00
|
|
|
|
# ============================================================
|
|
|
|
|
|
# aida-gateway - Bootstrap
|
|
|
|
|
|
# 通过 NACOS_NAMESPACE 环境变量切换命名空间(dev / test / prod)
|
|
|
|
|
|
# 示例:docker run -e NACOS_NAMESPACE=prod ...
|
|
|
|
|
|
# ============================================================
|
|
|
|
|
|
|
2026-04-27 13:54:04 +08:00
|
|
|
|
nacos:
|
|
|
|
|
|
namespace: dev
|
|
|
|
|
|
host: 18.167.251.121:28848
|
|
|
|
|
|
username: nacos
|
|
|
|
|
|
password: Aidlab123123!
|
|
|
|
|
|
|
2026-04-21 14:11:01 +08:00
|
|
|
|
spring:
|
|
|
|
|
|
application:
|
2026-04-27 14:30:30 +08:00
|
|
|
|
name: aida-gateway
|
2026-04-21 14:11:01 +08:00
|
|
|
|
config:
|
2026-04-27 13:54:04 +08:00
|
|
|
|
import: optional:nacos:aida-public-${nacos.namespace}.yml
|
2026-04-21 14:11:01 +08:00
|
|
|
|
cloud:
|
|
|
|
|
|
nacos:
|
|
|
|
|
|
discovery:
|
2026-04-27 13:54:04 +08:00
|
|
|
|
server-addr: ${nacos.host}
|
|
|
|
|
|
namespace: ${nacos.namespace}
|
|
|
|
|
|
username: ${nacos.username}
|
|
|
|
|
|
password: ${nacos.password}
|
2026-04-27 16:29:55 +08:00
|
|
|
|
hostname: master-aida-gateway
|
2026-04-21 14:11:01 +08:00
|
|
|
|
config:
|
2026-04-27 13:54:04 +08:00
|
|
|
|
server-addr: ${nacos.host}
|
|
|
|
|
|
namespace: ${nacos.namespace}
|
2026-04-21 14:11:01 +08:00
|
|
|
|
file-extension: yaml
|
2026-04-27 13:54:04 +08:00
|
|
|
|
username: ${nacos.username}
|
|
|
|
|
|
password: ${nacos.password}
|