Files
m2pool_web_backend/m2pool-modules/m2pool-pool/src/main/resources/bootstrap-test.yml

78 lines
2.1 KiB
YAML
Raw Normal View History

server:
port: 9503
compression:
enabled: true
mime-types: application/json
spring:
mvc:
pathmatch:
matching-strategy: ant-path-matcher
#邮箱基本配置
mail:
# 配置在limit_time内用户可以发送limit次验证码
limit: 2 这个是我额外的配置,结合邮箱服务用的
limitTime: 10 这个是我额外的配置
#配置smtp服务主机地址
# sina smtp.sina.cn
# aliyun smtp.aliyun.com
# 163 smtp.163.com 端口号465或994
host: mail.privateemail.com
#发送者邮箱
username: support@m2pool.cc
#配置密码,注意不是真正的密码,而是刚刚申请到的授权码
# password:
# password: m2pool2024@!
# password: axvm-zfgx-cgcg-qhhu
password: m2pool2024@!
#端口号
port: 587
#默认的邮件编码为UTF-8
default-encoding: UTF-8
#其他参数
properties:
mail:
#配置SSL 加密工厂
smtp:
ssl:
#本地测试先放开ssl
enable: false
required: false
#开启debug模式这样邮件发送过程的日志会在控制台打印出来方便排查错误
debug: false
socketFactory:
class: javax.net.ssl.SSLSocketFactory
application:
# 应用名称
name: m2pool-pool
cloud:
nacos:
discovery:
# 服务注册地址 172.16.2.5
2025-05-19 15:12:39 +08:00
server-addr: 127.0.0.1:8808
namespace: m2_test
group: m2_test_group
2025-05-19 15:12:39 +08:00
# server-addr: 127.0.0.1:8808
config:
# 配置中心地址
2025-05-19 15:12:39 +08:00
server-addr: 127.0.0.1:8808
# server-addr: 127.0.0.1:8808
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
namespace: m2_test
group: m2_test_group
servlet:
multipart:
max-file-size: 5MB
max-request-size: 8MB
myenv:
domain: https://test.m2pool.com
path: /var/www/html/web_test
img: /img
filepath: /home/ubuntu/web