- insert drives
- partition and format drives
- create mountpoints
- add mounts to /etc/fstab
- I like to reboot to test mounting went successfully on reboot
- create the docker secrets
docker stack deploy
or run it in portainer
Created
September 27, 2018 01:52
-
-
Save airbornelamb/d2f2eb839002296b02b9776b814e1a0f to your computer and use it in GitHub Desktop.
Minio stack
This file contains 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.5’ | |
services: | |
minio: | |
image: minio/minio | |
#for ARM devices | |
#image: alexellis2/minio-armhf | |
volumes: | |
- minio_config:/root/.minio | |
- /mnt/data1:/data1 | |
- /mnt/data2:/data2 | |
- /mnt/data3:/data3 | |
- /mnt/data4:/data4 | |
ports: | |
- "9005:9000" | |
deploy: | |
restart_policy: | |
delay: 10s | |
max_attempts: 10 | |
window: 60s | |
secrets: | |
- MINIO_ACCESS_KEY | |
- MINIO_SECRET_KEY | |
volumes: | |
minio_config: | |
secrets: | |
MINIO_ACCESS_KEY: | |
external: true | |
MINIO_SECRET_KEY: | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment