Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.2 KB

README.md

File metadata and controls

55 lines (43 loc) · 1.2 KB

Initcloud Scanner

Description

Initcloud Scanner is Terraform Scanner & Visualizer for AWS, NCP.

How to run

  1. Install docker & docker-compose on your linux environment.
    install docker
    install docker-compose
  2. Cloning Initcloud Scanner
git clone https://github.com/init-cloud/frontend-initcloud.git
cd ./initcloud-scanner
  1. Set your Environment Variables.
touch .env
# .env

# NGINX
NGINX_PORT=80

# Dashboard
BOARD_PORT=5555 # YOUR BOARD PORT
REACT_APP_BASE_URL=   # YOUR PUBLIC IP OR DOMAIN e.g) http://100.100.100.100
REACT_APP_LOCAL_BASE_URL=http://localhost:9090 # PORT IS YOUR SCANNER PORT

# Scanner
SCANNER_PORT=9090 # YOUR SCANNER PORT

# Parser
PARSER_PORT=9001 # YOUR PARSER PORT

# DB
MARIADB_DATABASE=initcloud
MARIADB_USER=__YOUR_DATABASE_USER__
MARIADB_PASSWORD=__YOUR_DATABASE_PASSWORD__
MARIADB_ROOT=__YOUR_DATABASE_ROOT__
MARIADB_ROOT_PASSWORD=__YOUR_DATABASE_ROOT_PASSWORD__
DB_PORT=9002 #__YOUR_DATABASE_PORT__ 
  1. Run with Docker-compose
# pwd : ./initcloud-scanner
docker compose up -d