Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions minio/compose.ftp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
services:
minio:
ports:
# 原生端口是9000和9001, 规避RTP服务端口冲突, 所以-1000
- ${MINIO_FTP_PORT:-8021}:${MINIO_FTP_PORT:-8021}
Comment thread
jss-tg marked this conversation as resolved.
- ${MINIO_FTP_PASSIVE_PORT:-8523-8529}:${MINIO_FTP_PASSIVE_PORT:-8523-8529}
# 被动模式外网IP问题, https://github.com/minio/minio/issues/17457
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}"