This repository has been archived on 2025-03-01. You can view files and clone it, but cannot push or open issues or pull requests.
Bonus-Cloud-Smart-Canteen/scripts_244/cust_auth_bootstrap.yml

36 lines
738 B
YAML
Raw Normal View History

2025-01-23 16:18:40 +08:00
# Tomcat
2025-02-10 12:42:18 +08:00
server:
port: 38389
2025-01-23 16:18:40 +08:00
# Spring
2025-02-10 12:42:18 +08:00
spring:
2025-01-23 16:18:40 +08:00
application:
# 应用名称
2025-02-10 12:42:18 +08:00
name: bonus-cust-auth
2025-01-23 16:18:40 +08:00
profiles:
# 环境配置
2025-02-10 12:42:18 +08:00
active: smart_canteen_test
2025-01-23 16:18:40 +08:00
cloud:
nacos:
username: nacos
password: bonus@Admin123
discovery:
# 服务注册地址
server-addr: 192.168.0.244:8848
2025-02-10 12:42:18 +08:00
namespace: smart_canteen
2025-01-23 16:18:40 +08:00
config:
# 配置中心地址
server-addr: 192.168.0.244:8848
2025-02-10 12:42:18 +08:00
namespace: smart_canteen
2025-01-23 16:18:40 +08:00
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
2025-02-10 12:42:18 +08:00
#加密组件
jasypt:
encryptor:
password: Encrypt