diff --git a/.env.example b/.env.example index 67555753..c874a067 100644 --- a/.env.example +++ b/.env.example @@ -5,14 +5,16 @@ SITE_NAME="(dev) No Moss 3 Carbo Landfill Online Localhost" # SITE_HOST is used for generating links for the search index. (If you leave this blank it should work using relative paths.) SITE_HOST="localhost" # SITE_URL is used for generating links for the search index. (If you leave this blank it should work using relative paths.) -SITE_URL="https://$SITE_HOST" +SITE_URL="https://${SITE_HOST}" +# WELCOME_MSG is used for the homepage instead of "Welcome to ${SITE_NAME}!" +WELCOME_MSG="Devel' It Up, Developer!" # APP_HTTP_LISTEN_PORT is the TCP port used to access the Node application's HTTP interface (usually by a reverse proxy). APP_HTTP_HOST="nm3clol" # APP_HTTP_LISTEN_PORT is the TCP port used to access the Node application's HTTP interface (usually by a reverse proxy). APP_HTTP_LISTEN_PORT=3000 # APP_URL is the URL used to access the Node application (usually by a reverse proxy). -APP_HTTP_URL="http://$APP_HTTP_HOST:$APP_HTTP_LISTEN_PORT" +APP_HTTP_URL="http://${APP_HTTP_HOST}:${APP_HTTP_LISTEN_PORT}" # SOLR_DOCS_HOST is the host for Apache Solr's core for indexed documents. SOLR_DOCS_HOST="solr" @@ -21,7 +23,7 @@ SOLR_DOCS_PORT=8983 # SOLR_DOCS_CORE_NAME is the core name for Apache Solr's core for indexed documents. SOLR_DOCS_CORE_NAME="nm3clol_core" # SOLR_DOCS_URL is the URL to access Apache Solr's core for indexed documents. It is used by Gulp and the Search feature. -SOLR_DOCS_URL="http://$SOLR_DOCS_HOST:$SOLR_DOCS_PORT/solr/$SOLR_DOCS_CORE_NAME" +SOLR_DOCS_URL="http://${SOLR_DOCS_HOST}:${SOLR_DOCS_PORT}/solr/${SOLR_DOCS_CORE_NAME}" # SOLR_LAW_HOST is the host for Apache Solr's core for indexed laws. SOLR_LAW_HOST="$SOLR_DOCS_HOST" @@ -30,11 +32,11 @@ SOLR_LAW_PORT=$SOLR_DOCS_PORT # SOLR_LAW_CORE_NAME is the core name for Apache Solr's core for indexed laws. SOLR_LAW_CORE_NAME="vacode_core" # SOLR_LAW_URL is the URL to access Apache Solr's core for indexed laws. It is used by Gulp (and eventually the Search feature.) -SOLR_LAW_URL="http://$SOLR_LAW_HOST:$SOLR_LAW_PORT/solr/$SOLR_LAW_CORE_NAME" +SOLR_LAW_URL="http://${SOLR_LAW_HOST}:${SOLR_LAW_PORT}/solr/${SOLR_LAW_CORE_NAME}" # TIKA_HOST is the URL to access the host running Apache Tika. TIKA_HOST="tika" # TIKA_PORT is the URL to access the host running Apache Tika. TIKA_PORT=9998 # TIKA_URL is the URL to access the host running Apache Tika. -TIKA_URL="http://tika:$TIKA_PORT" +TIKA_URL="http://${TIKA_HOST}:${TIKA_PORT}" diff --git a/docker/.env.nm3clol b/docker/.env.nm3clol index 67555753..c874a067 100644 --- a/docker/.env.nm3clol +++ b/docker/.env.nm3clol @@ -5,14 +5,16 @@ SITE_NAME="(dev) No Moss 3 Carbo Landfill Online Localhost" # SITE_HOST is used for generating links for the search index. (If you leave this blank it should work using relative paths.) SITE_HOST="localhost" # SITE_URL is used for generating links for the search index. (If you leave this blank it should work using relative paths.) -SITE_URL="https://$SITE_HOST" +SITE_URL="https://${SITE_HOST}" +# WELCOME_MSG is used for the homepage instead of "Welcome to ${SITE_NAME}!" +WELCOME_MSG="Devel' It Up, Developer!" # APP_HTTP_LISTEN_PORT is the TCP port used to access the Node application's HTTP interface (usually by a reverse proxy). APP_HTTP_HOST="nm3clol" # APP_HTTP_LISTEN_PORT is the TCP port used to access the Node application's HTTP interface (usually by a reverse proxy). APP_HTTP_LISTEN_PORT=3000 # APP_URL is the URL used to access the Node application (usually by a reverse proxy). -APP_HTTP_URL="http://$APP_HTTP_HOST:$APP_HTTP_LISTEN_PORT" +APP_HTTP_URL="http://${APP_HTTP_HOST}:${APP_HTTP_LISTEN_PORT}" # SOLR_DOCS_HOST is the host for Apache Solr's core for indexed documents. SOLR_DOCS_HOST="solr" @@ -21,7 +23,7 @@ SOLR_DOCS_PORT=8983 # SOLR_DOCS_CORE_NAME is the core name for Apache Solr's core for indexed documents. SOLR_DOCS_CORE_NAME="nm3clol_core" # SOLR_DOCS_URL is the URL to access Apache Solr's core for indexed documents. It is used by Gulp and the Search feature. -SOLR_DOCS_URL="http://$SOLR_DOCS_HOST:$SOLR_DOCS_PORT/solr/$SOLR_DOCS_CORE_NAME" +SOLR_DOCS_URL="http://${SOLR_DOCS_HOST}:${SOLR_DOCS_PORT}/solr/${SOLR_DOCS_CORE_NAME}" # SOLR_LAW_HOST is the host for Apache Solr's core for indexed laws. SOLR_LAW_HOST="$SOLR_DOCS_HOST" @@ -30,11 +32,11 @@ SOLR_LAW_PORT=$SOLR_DOCS_PORT # SOLR_LAW_CORE_NAME is the core name for Apache Solr's core for indexed laws. SOLR_LAW_CORE_NAME="vacode_core" # SOLR_LAW_URL is the URL to access Apache Solr's core for indexed laws. It is used by Gulp (and eventually the Search feature.) -SOLR_LAW_URL="http://$SOLR_LAW_HOST:$SOLR_LAW_PORT/solr/$SOLR_LAW_CORE_NAME" +SOLR_LAW_URL="http://${SOLR_LAW_HOST}:${SOLR_LAW_PORT}/solr/${SOLR_LAW_CORE_NAME}" # TIKA_HOST is the URL to access the host running Apache Tika. TIKA_HOST="tika" # TIKA_PORT is the URL to access the host running Apache Tika. TIKA_PORT=9998 # TIKA_URL is the URL to access the host running Apache Tika. -TIKA_URL="http://tika:$TIKA_PORT" +TIKA_URL="http://${TIKA_HOST}:${TIKA_PORT}"