You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ const ENV_VARS_MAPPING = {
18
18
CATENAX_PORTAL_REALM_LOGO:'realmLogo',
19
19
CATENAX_PORTAL_API_URL:'apiUrl',
20
20
CATENAX_PORTAL_BASE_URL:'baseUrl',
21
+
CATENAX_PORTAL_BACKEND_DOMAIN,
21
22
};
22
23
```
23
24
@@ -39,10 +40,15 @@ This variable points to the desired api
39
40
`CATENAX_PORTAL_BASE_URL`
40
41
This variable is used to set the base path of the application. (Should be set if application runs as a subtopic)
41
42
43
+
`CATENAX_PORTAL_BACKEND_DOMAIN`
44
+
This variable is needed for security, to be more explicit, for the security headers of a request.
45
+
The domain of the corresponding backend should be used here.
46
+
An example value could be: `catena-x.com`
47
+
42
48
### Example command:
43
49
44
50
```shell
45
-
$ docker run -d -p 4200:8080 -e CATENAX_PORTAL_DEFAULT_REALM=TEST${dockerImage}
51
+
$ docker run -d -p 4200:8080 -e CATENAX_PORTAL_BASE_URL=/example -e CATENAX_PORTAL_BACKEND_DOMAIN=catena-x.net${dockerImage}
46
52
```
47
53
48
54
#### `Docker run`
@@ -57,7 +63,7 @@ To start a container in detached mode, you use `-d=true` or just `-d` option. By
57
63
58
64
To expose a container’s internal port, an operator can start the container with the `-P` or `-p` flag. The exposed port is accessible on the host and the ports are available to any client that can reach the host.
59
65
60
-
#### `-e CATENAX_PORTAL_DEFAULT_REALM=TEST`
66
+
#### `-e ***`
61
67
62
68
The operator can set any environment variable in the container by using one or more `-e` flags, even overriding already defined flags by the developer with a Dockerfile `ENV`.
0 commit comments