服务注册

This commit is contained in:
2025-12-05 18:56:56 +08:00
parent 133209691e
commit 68c91b4ba3
12 changed files with 128 additions and 1 deletions

View File

@@ -18,11 +18,23 @@ urban-lifeline:
- /actuator/health
- /actuator/info
security:
aes:
secret-key: 1234567890qwer
# ================== Spring ==================
spring:
application:
name: workcase-service
# ================== Spring Cloud Nacos ==================
cloud:
nacos:
discovery:
server-addr: 127.0.0.1:8848
namespace: dev
group: DEFAULT_GROUP
# ================== DataSource ==================
datasource:
url: jdbc:postgresql://127.0.0.1:5432/urban_lifeline