diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..2a8303b1 --- /dev/null +++ b/.env.example @@ -0,0 +1,38 @@ +# You will need a .env file to use with the Docker containers. This is set up for localhost use with the Docker Compose fullstack. + +# SITE_NAME is used for page generation. +SITE_NAME="No Moss 3 Landfill Online Library" +# 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://localhost" + +# 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" + +# SOLR_DOCS_HOST is the host for Apache Solr's core for indexed documents. +SOLR_DOCS_HOST="solr" +# SOLR_DOCS_PORT is the port for Apache Solr's core for indexed documents. +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_LAW_HOST is the host for Apache Solr's core for indexed laws. +SOLR_LAW_HOST="$SOLR_DOCS_HOST" +# SOLR_LAW_PORT is the host for Apache Solr's core for indexed laws. +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" + +# 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"