Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend docker configuration with OIDC-related parameters #6

Merged
merged 4 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .docker/config.js.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ window.__config__ = {
LANGUAGE: '${LANGUAGE}',
NAVIGATOR_LANGUAGE: '${NAVIGATOR_LANGUAGE}',
BASENAME: '${BASENAME}',
EXTENSIONS: '${EXTENSIONS}'
}
EXTENSIONS: '${EXTENSIONS}',
AUTHENTICATION: '${AUTHENTICATION}',
AUTH_SERVER_URL: '${AUTH_SERVER_URL}',
AUTH_CLIENT_ID: '${AUTH_CLIENT_ID}'
}
8 changes: 4 additions & 4 deletions config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export const getEnv = (name, defaultValue) => {
};

export const API_URL = getEnv("API_URL");
export const APP_TITLE = getEnv("APP_TITLE");
export const LANGUAGE = getEnv("LANGUAGE");
export const NAVIGATOR_LANGUAGE = JSON.parse(getEnv("NAVIGATOR_LANGUAGE"));
export const BASENAME = getEnv("BASENAME");
export const APP_TITLE = getEnv("APP_TITLE", "Record Manager");
export const LANGUAGE = getEnv("LANGUAGE", "en");
export const NAVIGATOR_LANGUAGE = JSON.parse(getEnv("NAVIGATOR_LANGUAGE", "true"));
export const BASENAME = getEnv("BASENAME", "");
export const EXTENSIONS = getEnv("EXTENSIONS", "");
Loading