mirror of
https://github.com/minio/minio.git
synced 2025-04-27 05:15:01 -04:00
Add missing env doc for MINIO_DOMAIN (#5705)
This commit is contained in:
parent
7c747a9643
commit
35e64573fa
@ -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…
x
Reference in New Issue
Block a user