Skip to content

Commit

Permalink
Add info about config in prod via env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
podliashanyk committed Feb 20, 2024
1 parent 562bc77 commit 5925579
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ Either provide **environment** variables when running the frontend under the Nod
#### Production environment
Serve `runtime-config.json` file with the **configuration** variables. It must be accessible as `%YOUR_FRONTEND_BASE_URL%/runtime-config.json`.

Alternatively, you can configure the application via **environment** variables if using the production-oriented Docker image defined in `./docker/Dockerfile`. This image will automatically produce a `runtime-config.json` from the environment variables exported to the container, as well as other variables provided in the `./docker/runtime-config-template.json`. Read more in the [docker/README.md](docker/README.md).

#### Variables
These **environment** variables are available:

Expand Down

0 comments on commit 5925579

Please sign in to comment.