Skip to content

Instantly share code, notes, and snippets.

@bkatiemills
Last active October 29, 2018 18:48
Show Gist options
  • Save bkatiemills/a719405e4dda21d900e9739d12620c17 to your computer and use it in GitHub Desktop.
Save bkatiemills/a719405e4dda21d900e9739d12620c17 to your computer and use it in GitHub Desktop.
# a minimal minio deployment, for demonstration purposes only. Don't put all replicas on one node in real life, please! Spread them across a cluster for HA.
echo "password" | docker secret create access_key -
echo "password" | docker secret create secret_key -
docker node update --label-add minio1=true infra
docker node update --label-add minio2=true infra
docker node update --label-add minio3=true infra
docker node update --label-add minio4=true infra
wget https://gist.githubusercontent.com/BillMills/f072572490e0bd8073c26821f303a939/raw/54c18bae7f6cc3385af730bbf37f79769e1eca43/minio-stack-demo.yaml
docker stack deploy --compose-file=minio-stack-demo.yaml minio_stack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment