代码拉取完成,页面将自动刷新
version: '3.7'
# Settings and configurations that are common for all containers
x-minio-common: &minio-common
image: quay.io/minio/minio:RELEASE.2021-11-24T23-19-33Z
command: server --console-address ":9001" http://minio{1...4}/data{1...2}
expose:
- "9000"
- "9001"
environment:
TZ: Asia/Shanghai
MINIO_ROOT_USER: htfs_05193
MINIO_ROOT_PASSWORD: DFS*#06#@@Vondser
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
# starts 4 docker containers running minio server instances.
# using nginx reverse proxy, load balancing, you can access
# it through port 9000.
services:
minio1:
<<: *minio-common
hostname: minio1
restart: always
volumes:
- /data/docker/minio/data1-1:/data1
- /data/docker/minio/data1-2:/data2
minio2:
<<: *minio-common
hostname: minio2
restart: always
volumes:
- /data/docker/minio/data2-1:/data1
- /data/docker/minio/data2-2:/data2
minio3:
<<: *minio-common
hostname: minio3
restart: always
volumes:
- /data/docker/minio/data3-1:/data1
- /data/docker/minio/data3-2:/data2
minio4:
<<: *minio-common
hostname: minio4
restart: always
volumes:
- /data/docker/minio/data4-1:/data1
- /data/docker/minio/data4-2:/data2
nginx:
image: nginx:1.19.2-alpine
hostname: nginx
restart: always
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "9000:9000"
- "9001:9001"
depends_on:
- minio1
- minio2
- minio3
- minio4
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。