Skip to content

Commit e0d0a96

Browse files
committed
wip: 移除MAIL_开头的变量
要配置邮箱服务器, 请参考文档: https://transcodegroup.yuque.com/zu9alr/rorom1/luxvlkvp2qukz8co
1 parent 3fdaf88 commit e0d0a96

File tree

4 files changed

+3
-26
lines changed

4 files changed

+3
-26
lines changed

default.en.env

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,6 @@ MINIO_SECRETKEY=${MINIO_PASSWORD}
152152
MINIO_FTP_PORT=8021
153153
MINIO_FTP_PASSIVE_PORT=8523-8529
154154

155-
## Email
156-
# Default uses transcodegroup email
157-
MAIL_HOST=smtp.transcodegroup.com
158-
MAIL_USERNAME=bus@transcodegroup.com
159-
# Required, need to create password in enterprise email
160-
MAIL_PASSWORD=''
161-
162155
## ================================ Version, set to latest to use the latest version ================================
163156

164157
# VIDEO, version check date: 2026-1-26

default.env

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,6 @@ MINIO_SECRETKEY=${MINIO_PASSWORD}
152152
MINIO_FTP_PORT=8021
153153
MINIO_FTP_PASSIVE_PORT=8523-8529
154154

155-
## 邮件
156-
# 默认使用transcodegroup的邮箱
157-
MAIL_HOST=smtp.transcodegroup.com
158-
MAIL_USERNAME=bus@transcodegroup.com
159-
# 必填, 需要去企业邮箱中创建密码
160-
MAIL_PASSWORD=''
161-
162155
## ================================ 版本号, 设为latest则使用最新版 ================================
163156

164157
# VIDEO, version check date: 2026-1-26

maintain/compose.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,8 @@ services:
6060
# 跨域 逗号分割
6161
- spring_my_cors_origin-patterns=*://${TRACK_HOSTNAME}:[*],*://${SERVER_IP_PUBLIC}:[*]
6262

63-
# Mail-预设了bus的邮箱
64-
- spring_mail_host=${MAIL_HOST:-smtp.transcodegroup.com}
65-
- spring_mail_username=${MAIL_USERNAME:-smtp.transcodegroup.com}
66-
- spring_mail_password=${MAIL_PASSWORD:-ENC(cGctUV1OIXHjEcu6meYcPMDyqLW2Qcy93yzQ9w1MdLw=)}
67-
- spring_mail_protocol=smtp
68-
- spring_mail_default-encoding=UTF-8
69-
- spring_mail_port=465
70-
- spring_mail_properties_mail_smtp_ssl_enable=true
71-
- spring_mail_properties_mail_smtp_socketFactory_port=465
72-
- spring_mail_properties_mail_smtp_socketFactory_class=javax.net.ssl.SSLSocketFactory
73-
63+
# 邮箱, 后端镜像已经内置了一个可用的邮箱服务器, 要使用自己的邮箱服务,
64+
# 请参考文档进行配置: https://transcodegroup.yuque.com/zu9alr/rorom1/luxvlkvp2qukz8co
7465
logging:
7566
driver: "json-file"
7667
options:

setup-services.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ else
229229
openssl rand -base64 16 | tr -dc 'a-zA-Z0-9' | head -c 16
230230
}
231231

232-
PASS_VARS=("MYSQL_PASSWORD" "REDIS_PASSWORD" "RABBITMQ_PASSWORD" "MONGODB_PASSWORD" "MINIO_PASSWORD" "MAIL_PASSWORD")
232+
PASS_VARS=("MYSQL_PASSWORD" "REDIS_PASSWORD" "RABBITMQ_PASSWORD" "MONGODB_PASSWORD" "MINIO_PASSWORD")
233233

234234
echo -e "${BLUE}Checking password configurations...${NC}"
235235

0 commit comments

Comments
 (0)