Initcloud Scanner is Terraform Scanner & Visualizer for AWS, NCP.
- Install docker & docker-compose on your linux environment.
install docker
install docker-compose - Cloning Initcloud Scanner
git clone https://github.com/init-cloud/frontend-initcloud.git
cd ./initcloud-scanner
- 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__
- Run with Docker-compose
# pwd : ./initcloud-scanner
docker compose up -d