Skip to content

The site that allows users to search old Trax in Space 1 files.

License

Notifications You must be signed in to change notification settings

roncli/tis.roncli.com

Repository files navigation

tis.roncli.com

The site that allows users to search old Trax in Space 1 files. You can see this site in action at https://tis.roncli.com.

More generally, this site basically functions as a file repository. Azure Application Insights is used for logging. Files are loaded in via an Azure Storage file share, and any accompanying html that is to be displayed on a directory's page is under the corresponding path in the /node/html directory and is listed as index.htm.

Usage

If you use this for yourself, you'll want to go into the /docker-compose.yml, /node/package.json, and /node/index.js files and the /node/html directory, remove the tis.roncli.com-specific content, and replace it with your own.

You need four files under the /secrets directory: APPINSIGHTS_INSTRUMENTATIONKEY, FILES_URI, FILES_USERNAME, and FILES_PASSWORD. These correspond respectively to your Azure Application Insights instrumentation key, your Azure Storage file share URI (Example, //your-storage-url.file.core.windows.net/your-share-name), your Azure Storage resource name, and your Azure Storage key.

To run the application, have Docker and Docker Compose installed, and run docker-compose up --build -d.

Version History

v2.0.15 - 11/15/2023

  • Package updates.

v2.0.14 - 9/14/2023

  • Package updates.

v2.0.13 - 8/1/2023

  • Package updates.

v2.0.12 - 5/23/2023

  • Package updates.

v2.0.11 - 12/18/2022

  • Package updates.

v2.0.10 - 8/26/2022

  • Package updates.

v2.0.9 - 5/22/2022

  • Package updates.

v2.0.8 - 3/11/2022

  • Package updates.

v2.0.7 - 12/11/2021

  • Package updates.

v2.0.6 - 11/21/2021

  • Package updates.

v2.0.5 - 10/3/2021

  • Package updates.

v2.0.4 - 8/24/2021

  • Make Azure File Storage optional. If not using Azure File Storage, just dump all the files to be available for download into /node/files/.
  • Make Azure Application Insights optional.

v2.0.3 - 5/2/2021

  • Increased download limit to 1000 per 12 hours per IP.
  • Added optional Docker metrics logged to Application Insights.

v2.0.2 - 9/3/2020

  • Added tsconfig.json files.
  • Added and updated dependencies.
  • Fixed some Application Insights calls.
  • Fixed some fs constants.

v2.0.1 - 8/27/2020

  • Added Application Insights logging via the logging container, which is a gelf server that Docker can use to log console messages. Application Insights is now required to function.
  • Update nginx container for extended logging.
  • Fixed bug with IP address trying to forward to the SSL version of the IP address, now it forwards to the SSL version of the domain.
  • Always create and copy the nginx config, regardless if it already exists.
  • Refactor of index.js in the node container, includes Application Insights logging for exceptions.

v2.0.0 - 8/25/2020

  • Updated packages, and updated for use in Docker.

v1.0.1 - 1/4/2019

  • Updated packages.

v1.0.0 - 5/5/2018

  • Initial version.