Add missing env doc for MINIO_DOMAIN (#5705)

master
Harshavardhana 7 years ago committed by kannappanr
parent 7c747a9643
commit 35e64573fa
  1. 3
      cmd/gateway/azure/gateway-azure.go
  2. 4
      cmd/gateway/b2/gateway-b2.go
  3. 4
      cmd/gateway/gcs/gateway-gcs.go
  4. 6
      cmd/gateway/manta/gateway-manta.go
  5. 3
      cmd/gateway/nas/gateway-nas.go
  6. 7
      cmd/gateway/oss/gateway-oss.go
  7. 3
      cmd/gateway/s3/gateway-s3.go
  8. 6
      cmd/gateway/sia/gateway-sia.go
  9. 10
      cmd/server-main.go

@ -75,6 +75,9 @@ ENVIRONMENT VARIABLES:
UPDATE: UPDATE:
MINIO_UPDATE: To turn off in-place upgrades, set this value to "off". MINIO_UPDATE: To turn off in-place upgrades, set this value to "off".
DOMAIN:
MINIO_DOMAIN: To enable virtual-host-style requests. Set this value to Minio host domain name.
EXAMPLES: EXAMPLES:
1. Start minio gateway server for Azure Blob Storage backend. 1. Start minio gateway server for Azure Blob Storage backend.
$ export MINIO_ACCESS_KEY=azureaccountname $ export MINIO_ACCESS_KEY=azureaccountname

@ -66,12 +66,14 @@ ENVIRONMENT VARIABLES:
UPDATE: UPDATE:
MINIO_UPDATE: To turn off in-place upgrades, set this value to "off". MINIO_UPDATE: To turn off in-place upgrades, set this value to "off".
DOMAIN:
MINIO_DOMAIN: To enable virtual-host-style requests. Set this value to Minio host domain name.
EXAMPLES: EXAMPLES:
1. Start minio gateway server for B2 backend. 1. Start minio gateway server for B2 backend.
$ export MINIO_ACCESS_KEY=accountID $ export MINIO_ACCESS_KEY=accountID
$ export MINIO_SECRET_KEY=applicationKey $ export MINIO_SECRET_KEY=applicationKey
$ {{.HelpName}} $ {{.HelpName}}
` `
minio.RegisterGatewayCommand(cli.Command{ minio.RegisterGatewayCommand(cli.Command{
Name: b2Backend, Name: b2Backend,

@ -112,6 +112,9 @@ ENVIRONMENT VARIABLES:
UPDATE: UPDATE:
MINIO_UPDATE: To turn off in-place upgrades, set this value to "off". MINIO_UPDATE: To turn off in-place upgrades, set this value to "off".
DOMAIN:
MINIO_DOMAIN: To enable virtual-host-style requests. Set this value to Minio host domain name.
GCS credentials file: GCS credentials file:
GOOGLE_APPLICATION_CREDENTIALS: Path to credentials.json GOOGLE_APPLICATION_CREDENTIALS: Path to credentials.json
@ -122,7 +125,6 @@ EXAMPLES:
$ export MINIO_ACCESS_KEY=accesskey $ export MINIO_ACCESS_KEY=accesskey
$ export MINIO_SECRET_KEY=secretkey $ export MINIO_SECRET_KEY=secretkey
$ {{.HelpName}} mygcsprojectid $ {{.HelpName}} mygcsprojectid
` `
minio.RegisterGatewayCommand(cli.Command{ minio.RegisterGatewayCommand(cli.Command{

@ -1,5 +1,5 @@
/* /*
* Minio Cloud Storage, (C) 2017 Minio, Inc. * Minio Cloud Storage, (C) 2017, 2018 Minio, Inc.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -71,6 +71,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".
DOMAIN:
MINIO_DOMAIN: To enable virtual-host-style requests. Set this value to Minio host domain name.
EXAMPLES: EXAMPLES:
1. Start minio gateway server for Manta Object Storage backend. 1. Start minio gateway server for Manta Object Storage backend.
$ export MINIO_ACCESS_KEY=manta_account_name $ export MINIO_ACCESS_KEY=manta_account_name
@ -87,7 +90,6 @@ EXAMPLES:
$ export MINIO_SECRET_KEY=manta_key_id $ export MINIO_SECRET_KEY=manta_key_id
$ export MANTA_KEY_MATERIAL=~/.ssh/custom_rsa $ export MANTA_KEY_MATERIAL=~/.ssh/custom_rsa
$ {{.HelpName}} $ {{.HelpName}}
` `
minio.RegisterGatewayCommand(cli.Command{ minio.RegisterGatewayCommand(cli.Command{

@ -53,6 +53,9 @@ ENVIRONMENT VARIABLES:
UPDATE: UPDATE:
MINIO_UPDATE: To turn off in-place upgrades, set this value to "off". MINIO_UPDATE: To turn off in-place upgrades, set this value to "off".
DOMAIN:
MINIO_DOMAIN: To enable virtual-host-style requests. Set this value to Minio host domain name.
EXAMPLES: EXAMPLES:
1. Start minio gateway server for NAS backend. 1. Start minio gateway server for NAS backend.
$ export MINIO_ACCESS_KEY=accesskey $ export MINIO_ACCESS_KEY=accesskey

@ -65,6 +65,12 @@ 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".
UPDATE:
MINIO_UPDATE: To turn off in-place upgrades, set this value to "off".
DOMAIN:
MINIO_DOMAIN: To enable virtual-host-style requests. Set this value to Minio host domain name.
EXAMPLES: EXAMPLES:
1. Start minio gateway server for Aliyun OSS backend. 1. Start minio gateway server for Aliyun OSS backend.
$ export MINIO_ACCESS_KEY=accesskey $ export MINIO_ACCESS_KEY=accesskey
@ -75,7 +81,6 @@ EXAMPLES:
$ export MINIO_ACCESS_KEY=Q3AM3UQ867SPQQA43P2F $ export MINIO_ACCESS_KEY=Q3AM3UQ867SPQQA43P2F
$ export MINIO_SECRET_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG $ export MINIO_SECRET_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG
$ {{.HelpName}} https://oss.example.com $ {{.HelpName}} https://oss.example.com
` `
minio.RegisterGatewayCommand(cli.Command{ minio.RegisterGatewayCommand(cli.Command{

@ -59,6 +59,9 @@ ENVIRONMENT VARIABLES:
UPDATE: UPDATE:
MINIO_UPDATE: To turn off in-place upgrades, set this value to "off". MINIO_UPDATE: To turn off in-place upgrades, set this value to "off".
DOMAIN:
MINIO_DOMAIN: To enable virtual-host-style requests. Set this value to Minio host domain name.
EXAMPLES: EXAMPLES:
1. Start minio gateway server for AWS S3 backend. 1. Start minio gateway server for AWS S3 backend.
$ export MINIO_ACCESS_KEY=accesskey $ export MINIO_ACCESS_KEY=accesskey

@ -1,5 +1,5 @@
/* /*
* Minio Cloud Storage, (C) 2017 Minio, Inc. * Minio Cloud Storage, (C) 2017, 2018 Minio, Inc.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -76,13 +76,15 @@ ENVIRONMENT VARIABLES: (Default values in parenthesis)
UPDATE: UPDATE:
MINIO_UPDATE: To turn off in-place upgrades, set this value to "off". MINIO_UPDATE: To turn off in-place upgrades, set this value to "off".
DOMAIN:
MINIO_DOMAIN: To enable virtual-host-style requests. Set this value to Minio host domain name.
SIA_TEMP_DIR: The name of the local Sia temporary storage directory. (.sia_temp) SIA_TEMP_DIR: The name of the local Sia temporary storage directory. (.sia_temp)
SIA_API_PASSWORD: API password for Sia daemon. (default is empty) SIA_API_PASSWORD: API password for Sia daemon. (default is empty)
EXAMPLES: EXAMPLES:
1. Start minio gateway server for Sia backend. 1. Start minio gateway server for Sia backend.
$ {{.HelpName}} $ {{.HelpName}}
` `
minio.RegisterGatewayCommand(cli.Command{ minio.RegisterGatewayCommand(cli.Command{

@ -55,7 +55,6 @@ DIR:
filesystem separated by space. You may also use a '...' convention filesystem separated by space. You may also use a '...' convention
to abbreviate the directory arguments. Remote directories in a to abbreviate the directory arguments. Remote directories in a
distributed setup are encoded as HTTP(s) URIs. distributed setup are encoded as HTTP(s) URIs.
{{if .VisibleFlags}} {{if .VisibleFlags}}
FLAGS: FLAGS:
{{range .VisibleFlags}}{{.}} {{range .VisibleFlags}}{{.}}
@ -69,11 +68,14 @@ ENVIRONMENT VARIABLES:
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: REGION:
MINIO_REGION: To set custom region. By default it is "us-east-1". MINIO_REGION: To set custom region. By default all regions are accepted.
UPDATE: UPDATE:
MINIO_UPDATE: To turn off in-place upgrades, set this value to "off". MINIO_UPDATE: To turn off in-place upgrades, set this value to "off".
DOMAIN:
MINIO_DOMAIN: To enable virtual-host-style requests. Set this value to Minio host domain name.
EXAMPLES: EXAMPLES:
1. Start minio server on "/home/shared" directory. 1. Start minio server on "/home/shared" directory.
$ {{.HelpName}} /home/shared $ {{.HelpName}} /home/shared
@ -81,6 +83,10 @@ EXAMPLES:
2. Start minio server bound to a specific ADDRESS:PORT. 2. Start minio server bound to a specific ADDRESS:PORT.
$ {{.HelpName}} --address 192.168.1.101:9000 /home/shared $ {{.HelpName}} --address 192.168.1.101:9000 /home/shared
3. Start minio server and enable virtual-host-style requests.
$ export MINIO_DOMAIN=mydomain.com
$ {{.HelpName}} --address mydomain.com:9000 /mnt/export
3. Start minio server on a 12 disks server. 3. Start minio server on a 12 disks server.
$ {{.HelpName}} /mnt/export1/ /mnt/export2/ /mnt/export3/ /mnt/export4/ \ $ {{.HelpName}} /mnt/export1/ /mnt/export2/ /mnt/export3/ /mnt/export4/ \
/mnt/export5/ /mnt/export6/ /mnt/export7/ /mnt/export8/ /mnt/export9/ \ /mnt/export5/ /mnt/export6/ /mnt/export7/ /mnt/export8/ /mnt/export9/ \

Loading…
Cancel
Save