Sign inSign up

vivasaayi/cloudrover

By vivasaayi

Updated over 1 year ago

CloudRover is a simple utility to collect & validate your cloud resources.

Image
Monitoring & observability
0

815

vivasaayi/cloudrover repository overview

1. CloudRover

CloudRover is a simple utility to collect & validate your cloud resources.

Only AWS cloud is supported in current version.

Below are the supported services.

  • DynamoDB
  • S3

2. How to run CloudRover

2.2 Using Docker Compose

2.2.1 Create the docker compose file

Create a docker compose file based on below template.

version: '3.1'

services:
  cloudrover:
    image: vivasaayi/cloudrover:latest
    restart: always
    environment:
      MYSQL_HOST: db
      MYSQL_PORT: 3306
      MYSQL_USERNAME: root
      MYSQL_PASSWORD: root
      MYSQL_DATABASE: cloudrover
      ASPNETCORE_ENVIRONMENT: development
    links:
      - db:db
    volumes:
      - ~/.aws:/home/app/.aws
    ports:
      - 8000:11220

  adminer:
    image: adminer
    restart: always
    ports:
      - 8888:8080
    links:
      - db:db

  dbmig:
    image: vivasaayi/cloudrover-dbmigration:latest
    environment:
      APP_CONNSTRING: "Server=db;uid=root;pwd=root;database=cloudrover;"
      CREATE_DATABASE: true
      VERSION: "1.0.0.0"
      DATABASE_TYPE: "mariadb"
    volumes:
      - ./output:/output
    links:
      - db:db

  db:
    image: mysql
    #command: --default-authentication-plugin=mysql_native_password
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: root
    ports:
      - 3310:3306

If you want to use a custom profile, pass the AWS_PROFILE env var to the docker compose.

cloudrover:
    image: vivasaayi/cloudrover:latest
    restart: always
    environment:
      AWS_PROFILE: YOUR_PROFILE
      MYSQL_HOST: db
2.2.2 Prepare the database
2.2.2.1 Create Database
  1. Run the Adminer
  2. Open the MySQL Adminer in browser.
  3. Create a new database named cloudrover.
# Start Adminer
docker-compose -f cloudrover.yaml up adminer -d
-- Create cloudrover database
CREATE DATABASE `cloudrover`;
2.2.2.2 Migrate Schema
docker-compose -f cloudrover.yaml up dbmig

Now in adminer, you can see the list of tables in the cloudrover database.

2.2.3 Start the Cloud Rover

Then run below command to start the cloudrover.

docker-compose -f cloudrover.yaml up cloudrover -d 

After this, you can open the Cloud Rover app in browser

Tag summary

Content type

Image

Digest

sha256:673d6fac4

Size

225.2 MB

Last updated

over 1 year ago

docker pull vivasaayi/cloudrover