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
This commit is contained in:
hefanli
2025-12-24 11:40:26 +08:00
committed by GitHub
parent 6d61348388
commit 215d7f0612
5 changed files with 33 additions and 18 deletions

View File

@@ -0,0 +1,22 @@
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 # 必须有这个配置