Files
DataMate/backend/api-gateway/src/main/resources/application.yml
T
hefanli 215d7f0612 Fix the ratio task bug (#194)
* fix: add feign client configurations

* fix: add nacos configurations

* fix: add python to gateway

* fix: Fix the ratio task bug
2025-12-24 11:40:26 +08:00

22 lines
539 B
YAML

spring:
main:
allow-circular-references: true
application:
name: datamate-gateway # 必须设置应用名
cloud:
nacos:
discovery:
fail-fast: false
# 显式设置端口
port: ${server.port:30000} # 与服务端口一致
server-addr: ${NACOS_ADDR:https://consulservice:18302}
username: consul
password:
ip: ${spring.application.name}
secure: true
cluster-name: DEFAULT
# 服务器端口配置
server:
port: 8080 # 必须有这个配置