Skip to content

Commit 2143963

Browse files
committed
adding env configuration
1 parent 1a7039a commit 2143963

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,23 @@ The `/restana-static/config` directory should be populated/overwritten during im
1919
```
2020
> File location : `/restana-static/config/default.json`
2121
22+
### Environment configuration
23+
Optionally, you can overwrite each configuration entry using corresponding environment variables.
24+
```bash
25+
# port
26+
PORT
27+
# cacheEnabled
28+
CACHE_ENABLED
29+
# cacheControlHeaderValue
30+
CACHE_CONTROL_HEADER_VALUE
31+
# distDirectory
32+
DIST_DIRECTORY
33+
# defaultFile
34+
DEFALUT_FILE
35+
# logsFormat
36+
LOGS_FORMAT
37+
```
38+
2239
## Adding static files
2340
The `/restana-static/dist` directory should be populated/overwritten during image creation.
2441
> Please consider that default path will change if you overwrite the `distDirectory` config.

0 commit comments

Comments
 (0)