File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,9 @@ MINIO_PASSWORD='' # xxxxxxxxxxxxxxxx
109109# MINIO_ACCESSKEY/SECRETKEY, 默认使用帐号&密码, 也可以在minio的管理后台创建一组新的KEY
110110MINIO_ACCESSKEY=${MINIO_USER} # xxxxxxxxxxxxxxxx
111111MINIO_SECRETKEY=${MINIO_PASSWORD} # xxxxxxxxxxxxxxxxx
112-
112+ # MINIO ftp功能
113+ MINIO_FTP_PORT=8021
114+ MINIO_FTP_PASSIVE_PORT=8523-8529
113115#---------------------------------------------
114116
115117## 邮件
Original file line number Diff line number Diff line change 1+ services :
2+ minio :
3+ ports :
4+ # 原生端口是9000和9001, 规避RTP服务端口冲突, 所以-1000
5+ - ${MINIO_FTP_PORT:-8021}:${MINIO_FTP_PORT:-8021}
6+ - ${MINIO_FTP_PASSIVE_PORT:-8523-8529}:${MINIO_FTP_PASSIVE_PORT:-8523-8529}
7+ # 被动模式外网IP问题, https://github.com/minio/minio/issues/17457
8+ command : server /data --console-address ":${MINIO_PORT_HTTP:-8001}" --address ":${MINIO_PORT:-8000}" --ftp="address=${SERVER_IP_PUBLIC}:${MINIO_FTP_PORT:-8021}" --ftp="passive-port-range=${MINIO_FTP_PASSIVE_PORT:-8523-8529}"
You can’t perform that action at this time.
0 commit comments