Fix docker documentation.

master
Harshavardhana 8 years ago
parent fdaa129a5b
commit 92858c7db2
  1. 8
      docker-compose.yml
  2. 6
      docs/Docker.md

@ -13,7 +13,7 @@ services:
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
command: minio1:/export minio2:/export minio3:/export minio4:/export
command: server minio1:/export minio2:/export minio3:/export minio4:/export
minio2:
image: minio/minio:edge
ports:
@ -23,7 +23,7 @@ services:
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
command: minio1:/export minio2:/export minio3:/export minio4:/export
command: server minio1:/export minio2:/export minio3:/export minio4:/export
minio3:
image: minio/minio:edge
ports:
@ -33,7 +33,7 @@ services:
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
command: minio1:/export minio2:/export minio3:/export minio4:/export
command: server minio1:/export minio2:/export minio3:/export minio4:/export
minio4:
image: minio/minio:edge
ports:
@ -43,4 +43,4 @@ services:
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
command: minio1:/export minio2:/export minio3:/export minio4:/export
command: server minio1:/export minio2:/export minio3:/export minio4:/export

@ -5,7 +5,7 @@ Minio generates new access and secret keys each time you run this command. Conta
```sh
docker run -p 9000:9000 minio/minio /export
docker run -p 9000:9000 minio/minio server /export
```
@ -18,7 +18,7 @@ Minio container requires a persistent volume to store configuration and applicat
docker run -p 9000:9000 --name minio1 \
-v /mnt/export/minio1:/export \
-v /mnt/config/minio1:/root/.minio \
minio/minio /export
minio/minio server /export
```
@ -33,7 +33,7 @@ docker run -p 9000:9000 --name minio1 \
-e "MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \
-v /mnt/export/minio1:/export \
-v /mnt/config/minio1:/root/.minio \
minio/minio /export
minio/minio server /export
```

Loading…
Cancel
Save