Skip to content

Commit fd18de9

Browse files
jmagakGitHub Actionsthemr0c
authored
RHIDP-5373: Setting baseUrl (redhat-developer#876)
Co-authored-by: GitHub Actions <[email protected]> Co-authored-by: Fabrice Flore-Thébault <[email protected]>
1 parent 47ec41a commit fd18de9

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

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

+22-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,28 @@ It contains one secret per line in `KEY=value` form.
2121
. Author your custom `{my-app-config-file}` file.
2222
This is the main {product-short} configuration file.
2323
+
24-
You can start with an empty file to use the default configuration.
24+
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.
25+
+
26+
.Configuring the `baseUrl` in `{my-app-config-file}`
27+
====
28+
[source,yaml,subs="+attributes,+quotes"]
29+
----
30+
app:
31+
title: {product}
32+
baseUrl: {my-product-url}
33+
34+
backend:
35+
auth:
36+
externalAccess:
37+
- type: legacy
38+
options:
39+
subject: legacy-default-config
40+
secret: "${BACKEND_SECRET}"
41+
baseUrl: {my-product-url}
42+
cors:
43+
origin: {my-product-url}
44+
----
45+
====
2546
+
2647
Optionally, enter your configuration such as:
2748

0 commit comments

Comments
 (0)