Last active
September 30, 2024 11:27
-
-
Save broland07/8d045fa9b75040faa713c08a81d4fcbc to your computer and use it in GitHub Desktop.
Minio-multi-node cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
minio-1: | |
image: minio/minio:latest | |
volumes: | |
- /mnt/volume1/:/data-1 | |
- /mnt/volume12/:/data-2 | |
ports: | |
- "10.0.0.130:9000:9000" | |
- "10.0.0.130:9001:9001" | |
extra_hosts: | |
- "minio-2:10.0.0.170" | |
- "minio-3:10.0.0.182" | |
restart: always | |
environment: | |
MINIO_ACCESS_KEY: minio | |
MINIO_SECRET_KEY: minio123 | |
# MINIO_BROWSER_REDIRECT_URL: https://minio.example.com | |
command: server --console-address ":9001" http://minio-{1...3}/data-{1...2} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
minio-2: | |
image: minio/minio:latest | |
volumes: | |
- /mnt/volume1/:/data-1 | |
- /mnt/volume12/:/data-2 | |
ports: | |
- "10.0.0.170:9000:9000" | |
- "10.0.0.170:9001:9001" | |
extra_hosts: | |
- "minio-1:10.0.0.130" | |
- "minio-3:10.0.0.182" | |
restart: always | |
environment: | |
MINIO_ACCESS_KEY: minio | |
MINIO_SECRET_KEY: minio123 | |
# MINIO_BROWSER_REDIRECT_URL: https://minio.example.com | |
command: server --console-address ":9001" http://minio-{1...3}/data-{1...2} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
minio-3: | |
image: minio/minio:latest | |
volumes: | |
- /mnt/volume1/:/data-1 | |
- /mnt/volume12/:/data-2 | |
ports: | |
- "10.0.0.182:9000:9000" | |
- "10.0.0.182:9001:9001" | |
extra_hosts: | |
- "minio-1:10.0.0.130" | |
- "minio-2:10.0.0.170" | |
restart: always | |
environment: | |
MINIO_ACCESS_KEY: minio | |
MINIO_SECRET_KEY: minio123 | |
# MINIO_BROWSER_REDIRECT_URL: https://minio.example.com | |
command: server --console-address ":9001" http://minio-{1...3}/data-{1...2} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment