Andrew Azores
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
3 deletions
-
weed/command/scaffold.go
|
@ -21,9 +21,9 @@ var cmdScaffold = &Command{ |
|
|
For example, the filer.toml mysql password can be overwritten by environment variable |
|
|
For example, the filer.toml mysql password can be overwritten by environment variable |
|
|
export WEED_MYSQL_PASSWORD=some_password |
|
|
export WEED_MYSQL_PASSWORD=some_password |
|
|
Environment variable rules: |
|
|
Environment variable rules: |
|
|
* Prefix the variable name with "WEED_" |
|
|
|
|
|
* Uppercase the reset of variable name. |
|
|
|
|
|
* Replace '.' with '_' |
|
|
|
|
|
|
|
|
* Prefix the variable name with "WEED_". |
|
|
|
|
|
* Uppercase the rest of the variable name. |
|
|
|
|
|
* Replace '.' with '_'. |
|
|
|
|
|
|
|
|
`, |
|
|
`, |
|
|
} |
|
|
} |
|
|