|
|
@ -89,12 +89,14 @@ services:
|
|
|
|
MINIO_ACCESS_KEY: ruoyi
|
|
|
|
MINIO_ACCESS_KEY: ruoyi
|
|
|
|
# 管理后台密码,最小8个字符
|
|
|
|
# 管理后台密码,最小8个字符
|
|
|
|
MINIO_SECRET_KEY: ruoyi123
|
|
|
|
MINIO_SECRET_KEY: ruoyi123
|
|
|
|
|
|
|
|
# https需要指定域名
|
|
|
|
|
|
|
|
MINIO_SERVER_URL: ""
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
# 映射当前目录下的data目录至容器内/data目录
|
|
|
|
# 映射当前目录下的data目录至容器内/data目录
|
|
|
|
- /docker/minio/data:/data
|
|
|
|
- /docker/minio/data:/data
|
|
|
|
# 映射配置目录
|
|
|
|
# 映射配置目录
|
|
|
|
- /docker/minio/config:/root/.minio/
|
|
|
|
- /docker/minio/config:/root/.minio/
|
|
|
|
command: server --console-address ':9001' /data # 指定容器中的目录 /data
|
|
|
|
command: server --address ':9000' --console-address ':9001' /data # 指定容器中的目录 /data
|
|
|
|
privileged: true
|
|
|
|
privileged: true
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
networks:
|
|
|
|