mirror of https://github.com/samply/bridgehead.git
Add default language to ccp
This commit is contained in:
parent
ccb9f45995
commit
d86c0520c7
|
@ -13,7 +13,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
TEILER_CORE_URL: "https://${HOST}/ccp-teiler-core"
|
TEILER_CORE_URL: "https://${HOST}/ccp-teiler-core"
|
||||||
TEILER_UI_URL: "https://${HOST}/ccp-teiler-ui"
|
TEILER_UI_URL: "https://${HOST}/ccp-teiler-ui"
|
||||||
DEFAULT_LANGUAGE: "de"
|
DEFAULT_LANGUAGE: "${DEFAULT_LANGUAGE_LOWER_CASE}"
|
||||||
HTTP_RELATIVE_PATH: "/ccp-teiler"
|
HTTP_RELATIVE_PATH: "/ccp-teiler"
|
||||||
|
|
||||||
teiler-ui:
|
teiler-ui:
|
||||||
|
@ -27,7 +27,7 @@ services:
|
||||||
- "traefik.http.middlewares.teiler_ui_ccp_strip.stripprefix.prefixes=/ccp-teiler-ui"
|
- "traefik.http.middlewares.teiler_ui_ccp_strip.stripprefix.prefixes=/ccp-teiler-ui"
|
||||||
- "traefik.http.routers.teiler_ui_ccp.middlewares=teiler_ui_ccp_strip"
|
- "traefik.http.routers.teiler_ui_ccp.middlewares=teiler_ui_ccp_strip"
|
||||||
environment:
|
environment:
|
||||||
DEFAULT_LANGUAGE: "DE"
|
DEFAULT_LANGUAGE: "${DEFAULT_LANGUAGE}"
|
||||||
TEILER_CORE_URL: "https://${HOST}/ccp-teiler-core"
|
TEILER_CORE_URL: "https://${HOST}/ccp-teiler-core"
|
||||||
KEYCLOAK_URL: "https://${HOST}/login"
|
KEYCLOAK_URL: "https://${HOST}/login"
|
||||||
KEYCLOAK_REALM: "teiler-ui"
|
KEYCLOAK_REALM: "teiler-ui"
|
||||||
|
@ -55,7 +55,7 @@ services:
|
||||||
LOG_LEVEL: "INFO"
|
LOG_LEVEL: "INFO"
|
||||||
APPLICATION_PORT: "8085"
|
APPLICATION_PORT: "8085"
|
||||||
APPLICATION_ADDRESS: "${HOST}"
|
APPLICATION_ADDRESS: "${HOST}"
|
||||||
DEFAULT_LANGUAGE: "DE"
|
DEFAULT_LANGUAGE: "${DEFAULT_LANGUAGE}"
|
||||||
CONFIG_ENV_VAR_PATH: "/run/secrets/ccp.conf"
|
CONFIG_ENV_VAR_PATH: "/run/secrets/ccp.conf"
|
||||||
TEILER_ROOT_CONFIG_HTTP_RELATIVE_PATH: "/ccp-teiler"
|
TEILER_ROOT_CONFIG_HTTP_RELATIVE_PATH: "/ccp-teiler"
|
||||||
TEILER_ROOT_CONFIG_URL: "https://${HOST}/ccp-teiler"
|
TEILER_ROOT_CONFIG_URL: "https://${HOST}/ccp-teiler"
|
||||||
|
|
2
ccp/vars
2
ccp/vars
|
@ -7,6 +7,8 @@ SUPPORT_EMAIL=support-ccp@dkfz-heidelberg.de
|
||||||
PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem
|
PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem
|
||||||
|
|
||||||
BROKER_URL_FOR_PREREQ=$BROKER_URL
|
BROKER_URL_FOR_PREREQ=$BROKER_URL
|
||||||
|
DEFAULT_LANGUAGE=DE
|
||||||
|
DEFAULT_LANGUAGE_LOWER_CASE=${DEFAULT_LANGUAGE,,}
|
||||||
|
|
||||||
|
|
||||||
for module in $PROJECT/modules/*.sh
|
for module in $PROJECT/modules/*.sh
|
||||||
|
|
Loading…
Reference in New Issue