Update: T02/搭建eureka-server模块

This commit is contained in:
2025-10-06 15:26:23 +08:00
parent db62b3cb0b
commit 0932eecaf1
4 changed files with 79 additions and 0 deletions
@@ -0,0 +1,15 @@
server:
port: 8761
spring:
application:
name: eureka-server
eureka:
instance:
hostname: localhost
client:
register-with-eureka: false
fetch-registry: false
service-url:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/