Skip to content

Commit bbc4d50

Browse files
author
GitHub Actions
committed
Setting baseUrl
1 parent 4293411 commit bbc4d50

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

modules/configuring/proc-provisioning-your-custom-configuration.adoc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,29 @@ This is the main {product-short} configuration file.
2323
+
2424
You can start with an empty file to use the default configuration.
2525
+
26+
The `baseUrl` field is mandatory in your `{my-app-config-file}` file to ensure proper functionality of {product-short}. You must specify the `baseUrl` in both the `app` and `backend` sections to avoid errors during initialization.
27+
28+
.Configuring the `baseUrl` in `{my-app-config-file}`
29+
====
30+
[source,yaml,subs="+attributes,+quotes"]
31+
----
32+
app:
33+
title: {product}
34+
baseUrl: <RHDH_URL>
35+
36+
backend:
37+
auth:
38+
externalAccess:
39+
- type: legacy
40+
options:
41+
subject: legacy-default-config
42+
secret: "${BACKEND_SECRET}"
43+
baseUrl: <RHDH_URL>
44+
cors:
45+
origin: <RHDH_URL>
46+
----
47+
====
48+
2649
Optionally, enter your configuration such as:
2750

2851
* link:{authentication-book-url}[{authentication-book-title}].

0 commit comments

Comments
 (0)