Skip to content

Commit dd6e0b5

Browse files
committed
📝(project) add missing env var to env.md
Update the documentation to include the missing environment variables. The missing environment variables are involved in the build process of the frontend image.
1 parent 95d3a8c commit dd6e0b5

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/env.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Here we describe all environment variables that can be set for the docs applicat
44

55
## impress-backend container
66

7-
These are the environmental variables you can set for the impress-backend container.
7+
These are the environment variables you can set for the `impress-backend` container.
88

99
| Option | Description | default |
1010
| ----------------------------------------------- | --------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
@@ -100,3 +100,14 @@ These are the environmental variables you can set for the impress-backend contai
100100
| MALWARE_DETECTION_PARAMETERS | A dict containing all the parameters to initiate the malware detection backend | {"callback_path": "core.malware_detection.malware_detection_callback",} |
101101
| THEME_CUSTOMIZATION_FILE_PATH | full path to the file customizing the theme. An example is provided in src/backend/impress/configuration/theme/default.json | BASE_DIR/impress/configuration/theme/default.json |
102102
| THEME_CUSTOMIZATION_CACHE_TIMEOUT | Cache duration for the customization settings | 86400 |
103+
104+
105+
## impress-frontend image
106+
107+
These are the environment variables you can set to build the `impress-frontend` image.
108+
109+
| Option | Description | default |
110+
| ----------------------------------------------- | --------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
111+
| API_ORIGIN | backend domain - it uses the current domain if not initialized | |
112+
| SW_DEACTIVATED | To not install the service worker | |
113+
| PUBLISH_AS_MIT | MIT licence does not include the export feature | true |

0 commit comments

Comments
 (0)