Sign inSign up

redgate/monitor-base-service

Verified Publisher

By Redgate

•Updated 6 days ago

Image
2

3.7K

redgate/monitor-base-service repository overview

⁠Redgate Monitor — Base Service

This is the official repository for Redgate Monitor⁠ Base Service images.

The Base Service is not intended to run alongside a Website. Refer to Docker Hub⁠ for instructions on setting up the Redgate Monitor Website image.

⁠Supported tags

  • latest — the most recent release.
  • <version> — a specific release, e.g. 14.26.0.30761.

⁠Getting started

The Base Service and Website are intended to be run together with a repository database (SQL Server, or PostgreSQL with TimescaleDB).

Further documentation on how to run in Docker and set up database repository can be found here⁠.

  1. Copy the example docker-compose.yml

    services:
        basemonitor:
            image: redgate/monitor-base-service:${IMAGE_TAG:-latest}
            container_name: rgm-basemonitor
            environment:
                - ACCEPT_EULA=${ACCEPT_EULA}
                - DB_TYPE=${DB_TYPE}
                - CONNECTION_STRING=${CONNECTION_STRING}
            volumes:
                - bm_data:/var/opt/redgate/redgatemonitor
                - bm_config:/etc/opt/redgate/redgatemonitor
                - bm_logs:/var/log/redgate/redgatemonitor
            networks:
                - rgm-network
            ports:
                - "${APP_PORT:-7399}:7399"
            restart: unless-stopped
            healthcheck:
                test: [ "CMD-SHELL", "bash -c '</dev/tcp/localhost/7399'" ]
                interval: 10s
                timeout: 5s
                retries: 5
                start_period: 30s
    volumes:
        bm_data:
        bm_config:
        bm_logs:
    networks:
        rgm-network:
            name: rgm-network
            driver: bridge
    
  2. Copy the example .env to the same directory as the above docker-compose.yml

    # Required: acceptance of the Redgate End User License Agreement.
    # The EULA is available at: https://www.red-gate.com/support/license/
    # By setting ACCEPT_EULA to 'Y' you confirm your acceptance of the EULA.
    # Accepted values: Y, yes, true, 1 (case-insensitive). Containers will not start otherwise.
    ACCEPT_EULA=
    
    # Required: database type backing the Monitor repository
    # Values: postgres  (PostgreSQL / TimescaleDB)
    #         mssql     (SQL Server)
    DB_TYPE=postgres
    
    # Postgres example:    Host=myserver;Database=rgm;Username=rgm_user;Password=your_password
    # SQL Server example:  Server=myserver;Database=rgm;User Id=rgm_user;Password=your_password
    CONNECTION_STRING=
    
    # Optional: pin to a specific image version (default: latest)
    IMAGE_TAG=latest
    
    # Optional: host port for BaseMonitor (default: 7399)
    APP_PORT=7399
    
  3. Edit the relevant parameters of the .env before running docker compose.

    docker compose up
    

⁠Documentation

⁠Licensing

Use of this image is subject to the Redgate End User Licence Agreement: https://www.red-gate.com/eula⁠

Tag summary

Content type

Image

Digest

sha256:7829a8405…

Size

199.2 MB

Last updated

6 days ago

docker pull redgate/monitor-base-service