Bonus-Cloud-JYY-Canteen/scripts_244_jyy_canteen_test/smart_canteen_bootstrap.yml

38 lines
818 B
YAML
Raw Normal View History

2025-04-03 17:05:00 +08:00
# Tomcat
server:
port: 48388
# Spring
spring:
servlet:
multipart:
# 文件最大
max-file-size: 20MB
# 设置总上传数据总大小
max-request-size: 20MB
application:
# 应用名称
name: bonus-smart-canteen
profiles:
# 环境配置
2025-04-03 17:49:18 +08:00
active: jyy_canteen_test
2025-04-03 17:05:00 +08:00
cloud:
nacos:
username: nacos
password: bonus@Admin123
discovery:
# 服务注册地址
server-addr: 192.168.0.244:8848
namespace: jyy_canteen
config:
# 配置中心地址
server-addr: 192.168.0.244:8848
namespace: jyy_canteen
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}