Skip to main content

Configuration options

The possible options are stored in a key-value format.

KeyValue
REACT_APP_API_URLstring

Base API url that will be used when creating RTK Query queries

KeyValue
REACT_APP_AUTH_METHODstring

Preferred method of authentication.

Options:

  • cookie

    Lets users authenticate by logging into conda-store. This is the preferred method of authentication.

  • token

    Lets users utilize a token generated by conda-store to authenticate to the server.

KeyValue
REACT_APP_LOGIN_PAGE_URLstring

The URL endpoint used for login authentication.

KeyValue
REACT_APP_LOGOUT_PAGE_URLstring

The URL endpoint used for logout authentication.

KeyValue
REACT_APP_AUTH_TOKENnull / string

If using the token method for authentication, then input the token as a string. Otherwise, leave blank.

KeyValue
REACT_APP_STYLE_TYPEstring

Options:

  • grayscale
  • green-accent
KeyValue
REACT_APP_SHOW_AUTH_BUTTONbool

Options:

  • true

    Show the login icon in the top menubar.

  • false

    Hide the login icon in the top menubar.

KeyValue
REACT_APP_ROUTER_TYPEstring

The type of React Router that the UI app will use.

Options:

  • browser

    Use the History API to keep track of app routes visited and to sync the current route with the browser URL address bar. For more info, refer to createBrowserRouter in the React Router docs.

  • memory

    Manage the history stack in memory instead of using the browser's history (createMemoryRouter). The JupyterLab extension configures the conda-store-ui to use the memory router so that it does not conflict with JupyterLab trying to manage the browser URL and history.

KeyValue
REACT_APP_URL_BASENAMEstring

The URL prefix for the UI app routes, if other than /. For example, a Nebari deployment that serves the UI at /conda-store should set this variable to /conda-store. The value of this variable is passed directly through to React Router's opts.basename.

Only valid when React Router's "browser" router type is used, otherwise ignored.