Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Latest commit

 

History

History
57 lines (39 loc) · 2.09 KB

getting-started.md

File metadata and controls

57 lines (39 loc) · 2.09 KB

Getting Started

This chapter shows the various ways to run and deploy the application. After the application is running (locally), you can access it under the following URLs:

Docker Compose (local deployment)

Prerequisites

  • Access to an Elasticsearch Cluster
  • Edit docker-compose.yaml (update environment variables)
  • Start docker containers
# go to the root of this repository

docker-compose up -d

This will build the docker images locally. Instead of building the images yourself, you can use the pre-built docker-images from the GitHub registry.

Use the image instead of the build configuration:

version: '3.9'
services:

  analyzer:
    image: ghcr.io/natrontech/360-noscope-analyzer:latest
    #build: ./analyze
(...)

  frontend:
    image: ghcr.io/natrontech/360-noscope-frontend:latest
    #build: ./ui

Environment Variables

You need to set the following environment:

Analyzer

ENV Description
ELASTIC_URI URL with protocol & port of the elasticsearch, e.g. http://elasticsearch.example.com:9200
ELASTIC_USERNAME Username for elasticsearch access
ELASTIC_PASSWORD Password for elasticsearch access
SECURITY_USERNAME User for spring api access
SECURITY_PASSWORD Password for spring api access

Kubernetes

You can deploy the application in your Kubernetes cluster. See the files in following directory for more informations: infra/fluxcd.