Install local deployment
  • 16 Apr 2020
  • 1 Minute To Read
  • Contributors
  • Share
  • Dark

Install local deployment

  • Share
  • Dark

Machine requirements

  • Access to the internet
  • No need to open any ports
  • Access to the GitHub Enterprise server
  • Hardware:
    - 16GB ram
    - 4 CPU Cores
    - OS ubuntu

Software requirements

1. awscli installed

Run: sudo apt-get update && sudo apt-get install -y awscli

2. Docker installed

Run: curl -fsSL | bash
Run: sudo usermod -aG docker $USER
Restart terminal

3. Docker-Compose installed

Run: sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Run: sudo chmod +x /usr/local/bin/docker-compose

4. Crontab installed

Run (check if cron is installed): dpkg -l cron
Run (install Crontab): sudo apt-get install cron=3.0pl1-128.1ubuntu1
Run (verify service is running): systemctl status cron

Installation guide

1. Provide Datree support team your GitHub enterprise URL

2. Datree support team will provide you two resources:

  • Pre-generated docker-compose.yml file
  • Command to run locally

3. Copy the docker-compose file to the machine and run the command locally

4. The command will trigger the docker-compose to run two services:

  • Analyzer - this service responsible for scanning the code and send meta-data to the dashboard
  • Integration - this service responsible for pulling API calls from Datree policy engine and response accordingly

5. Run docker-compose logs -fto verify everything is up and running

Was This Article Helpful?