Add MINIO_REGION to server help message (#4558)

* Add e.g for setting MINIO_REGION env variable
* Add MINIO_REGION to region table
This commit is contained in:
Krishnan Parthasarathi 2017-06-20 22:02:18 +00:00 committed by Harshavardhana
parent 0543d45fb3
commit 146bc3e638
2 changed files with 11 additions and 1 deletions

View File

@ -58,6 +58,9 @@ ENVIRONMENT VARIABLES:
BROWSER: BROWSER:
MINIO_BROWSER: To disable web browser access, set this value to "off". MINIO_BROWSER: To disable web browser access, set this value to "off".
REGION:
MINIO_REGION: To set custom region. By default it is "us-east-1".
EXAMPLES: EXAMPLES:
1. Start minio server on "/home/shared" directory. 1. Start minio server on "/home/shared" directory.
$ {{.HelpName}} /home/shared $ {{.HelpName}} /home/shared

View File

@ -48,7 +48,14 @@ minio server ~/Photos
#### Region #### Region
|Field|Type|Description| |Field|Type|Description|
|:---|:---|:---| |:---|:---|:---|
|``region``| _string_ | `region` describes the physical location of the server. By default it is set to `us-east-1`, which is same as AWS3's default region. If you are unsure leave it to default.| |``region``| _string_ | `region` describes the physical location of the server. By default it is set to `us-east-1`, which is same as AWS S3's default region. You may override this field with `MINIO_REGION` environment variable. If you are unsure leave it unset.|
Example:
```sh
export MINIO_REGION="my_region"
minio server ~/Photos
```
#### Browser #### Browser
|Field|Type|Description| |Field|Type|Description|