Skip to content

Commit

Permalink
Update readmes based on env var
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Apr 8, 2024
1 parent 27f8708 commit c3cd2b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ graph TD
end
mongodb --> backends
backend --> frontend
backends --> frontend[frontend**]
backend --> searchapi
end
Expand Down
10 changes: 7 additions & 3 deletions services/frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ The SciCat frontend is the SciCat metadata catalogue web UI, built on top of the

## Configuration options

The frontend configuration is set by the [config.json file](./config/config.json). For an extensive list of available options see [here](https://scicatproject.github.io/documentation/Development/v3.x/Configuration.html) in the SciCat frontend section.
The frontend configuration is set by the [configfiles](./config/). Files inside the [config](./config/) folder, with a `.json` extension are merged in alphabetical order, with [config.v3.json](./config/config.v3.json) applied depending on the [BE_VERSION](README.md#dependency-on-be_version). For an extensive list of available options see [here](https://scicatproject.github.io/documentation/Development/v3.x/Configuration.html) in the SciCat frontend section.

## Defaul configuration
## Default configuration

In the default configuration [config.json file](./config/config.json), the frontend is set to call the [backend container](../backend/) which is available on the `backend.localhost`.
In the default configuration [config](./config/), the frontend is set to call the [backend container](../backend/) which is available on the `backend.localhost`.

## Dependency on `BE_VERSION`

The `BE_VERSION` value controls if the `frontend` should connect to the [backend container](../backend/) or the [backendnext container](../backendnext/).

0 comments on commit c3cd2b5

Please sign in to comment.