Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
Add a note for setting syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
geekgonecrazy authored Mar 10, 2021
1 parent 682b6a3 commit b453a12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion guides/administrator-guides/settings-via-env-vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ You can set any settings value via an environment variable when starting your se

## Set Setting

To set a setting you need only to add the env var `SETTING_ID=VALUE` when starting the server.
To set a setting for the first time you need only to add the env var `SETTING_ID=VALUE` when starting the server.

Example:

```text
FileUpload_Storage_Type=GoogleCloudStorage
```

**Note: This only works if the setting isn't already set. So this is most useful for setting on initial start. If the setting already has a value you will need to use the syntax below**

## Overwrite Setting

You can overwrite any setting by setting an environment variable prefixed with: `OVERWRITE_SETTING_`
Expand Down

0 comments on commit b453a12

Please sign in to comment.