mirror of
https://github.com/movie-web/docs.git
synced 2025-09-13 04:53:27 +00:00
Correct mistakes with backend environment config
This commit is contained in:
@@ -21,14 +21,14 @@ This method uses nesting. So the key `server.basePath`. Will result in a json fi
|
||||
|
||||
## Method 2 - `.env`
|
||||
|
||||
This method is a flat method using double underscores as seperators and `MW_` as prefix. So the key `server.basePath`. Will result in the .env file like this:
|
||||
The environment variable names use double underscores as separators and `MW_` as the prefix. So the key `server.basePath` will result in the .env file like this:
|
||||
```sh
|
||||
MB_SERVER__BASE_PATH=/backend
|
||||
MW_SERVER__BASE_PATH=/backend
|
||||
```
|
||||
|
||||
## Method 3 - environment
|
||||
## Method 3 - Environment
|
||||
|
||||
This method is identical to the `.env` method listed above, but instead of writing it in a file, you add it to the environment.
|
||||
This method is identical to the `.env` method listed above, but you add the variables to the environment instead of writing it in a file.
|
||||
|
||||
# Reference
|
||||
|
||||
|
Reference in New Issue
Block a user