DevOps Monitor Installation

How to set up DevOps Monitor

Estimated reading time: 2 mins

Last edited: 31 Mar 2020

Requirements

Recommended specification of the server:

  • System: Docker container host environment (self-hosted: Linux / Cloud environment: Microsoft Azure or Amazon AWS) - version 1.13 or higher
  • Memory: 32 GB+
  • HD (free space): SSD 100 GB+ (SATA III)
  • Processor: i7 4 x vCore(s) 3 GHz+
  • Network: Wired LAN Gigabit Ethernet
  • Network access to source control repository
  • Open ports 42733, 42734, 80, 443, 5000

First two of the listed ports allow for a connection between your application and RevDeBug DevOps Monitor server component. Port 5000 is needed to open the access to a web client.

Installation on Docker

First if you are updating from version < 5.7 run this command:

docker stop rdb_server_node

Next, install docker-compose if you don’t have installed it yet.

…next download docker-compose file. You can get one from the RevDeBug Portal or read how to get one. If you don’t want to download auto generated docker-compose file you can download template here.

…last step is to bring the containers up with (in the compose file directory):

sudo -E docker-compose -p revdebug up -d

If you want to change default configuration of docker-compose file, or you don’t use auto generated docker-compose file look below:

docker-compose.yml

version: '3.0'
services:
  postgres:
    image: postgres:11
    volumes:
        - ${REVDEBUG_VOLUME_PATH:-/var/revdebug/server/repo}/revdebug_database:/var/lib/postgresql/data
    environment:
            POSTGRES_USER: ${REVDEBUG_POSTGRES_USER:-rdb_user}
            POSTGRES_PASSWORD: ${REVDEBUG_POSTGRES_PASSWORD:-masterkey}
            POSTGRES_DB: ${REVDEBUG_POSTGRES_DATABASE:-revdebug_db}
  devops:
    image: docker.revdebug.com/devops:latest
    ports:
        - "${REVDEBUG_MONITOR_PORT:-5000}:5000"
        - "${REVDEBUG_RECORDERS_PORT:-42733}:42733"
        - "${REVDEBUG_APPLICATIONS_PORT:-42734}:42734"
    volumes:
        - ${REVDEBUG_VOLUME_PATH:-/var/revdebug/server/repo}:/app/RevDeBug
    environment:
            REVDEBUG_AUTH: ${REVDEBUG_AUTH}
            REVDEBUG_POSTGRES_SERVER: ${REVDEBUG_POSTGRES_SERVER:-postgres}
            REVDEBUG_POSTGRES_PORT: ${REVDEBUG_POSTGRES_PORT:-5432}
            REVDEBUG_POSTGRES_USER: ${REVDEBUG_POSTGRES_USER:-rdb_user}
            REVDEBUG_POSTGRES_PASSWORD: ${REVDEBUG_POSTGRES_PASSWORD:-masterkey}
            REVDEBUG_POSTGRES_DATABASE: ${REVDEBUG_POSTGRES_DATABASE:-revdebug_db}
    links:
            - postgres

There is one field, that require your attention:

  • REVDEBUG_AUTH - fill this field with organization code from your portal. For more information about RevDeBug Portal visit this chapter
Installation on Azure

RevDeBug supports Azure Platform based pre-configured installer for the RevDeBug Server. Microsoft Azure is a cloud computing service that allows to manage applications and services on the Microsoft data centers.

To use this functionality use the button below:

Next, choose your preferred Resource group and type in RevDeBug ID access hash into the Organization Id field. If you do not have your Organization ID, get one from the RevDeBug Portal or read how to get one. For any additional information, please refer to the readme file available here.