You've already forked DataMate
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:
22
backend/api-gateway/src/main/resources/application.yml
Normal file
22
backend/api-gateway/src/main/resources/application.yml
Normal 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 # 必须有这个配置
|
||||
Reference in New Issue
Block a user