Skip to content

Commit d46483d

Browse files
committed
feat(minio): 增加ftp选项
1 parent acd1ed1 commit d46483d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

minio/compose.ftp.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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+
command: server /data --console-address ":${MINIO_PORT_HTTP:-8001}" --address ":${MINIO_PORT:-8000}" --ftp="address=:${MINIO_FTP_PORT:-8021}" --ftp="passive-port-range=${MINIO_FTP_PASSIVE_PORT:-8523-8529}"

0 commit comments

Comments
 (0)