Sign inSign up

sjultra/mars

By sjultra

Updated over 5 years ago

The Project Mars - easy to use log aggregation and report generation platform.

Image
1

1.3K

sjultra/mars repository overview

Project Mars ☄️

The main goal of the project Mars is to provide an easy to use log agregation and report generation platform.

Architecture

Development

prerequisites:

  1. NodeJS

initial setup:

npm install 
Any file/folder containing .local will be ignored by git

test run the app:

node main.js -c config.local/config.local.json

Getting started:

  1. Compiling a Config that fulfills the needs
  2. Running the docker container

The example assums that the following folders exist:

  1. config.local - containing a correct config.local.json
  2. output.local - a empty folder that will have the logs gathered from the tool

Config - All paths for the that point to files should be written with the idea that in the example the folder structure is as follows:

  • /root/Mars - $HOME
  • /root/Mars/config - config folder
  • /root/Mars/output - output folder
To run the docker run command
docker run --name=Mars -d \
--mount type=bind,source="$(pwd)"/config,target=/root/Mars/config \
--mount type=bind,source="$(pwd)"/output,target=/root/Mars/output \
 sjultra/mars:latest /bin/bash  -c "node main.js -c ./config/config.local.json"

Tag summary

Content type

Image

Digest

Size

494.8 MB

Last updated

over 5 years ago

docker pull sjultra/mars