aldrickdev / dbm-sandbox

The goal of this project is to speed up deploying a sandbox that already has a configured Datadog Agent for DBM and a DBMS that can be used for replication or just general use.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dbm-sandbox

The goal of this project is to speed up deploying a sandbox that already has a configured Datadog Agent for DBM and a DBMS that can be used for replication or just general use.

Usage

Example

The example below uses this tool to create a directory called sandbox-demo that will contain a complete Docker Compose manifest that will deploy a Datadog Agent of the latest version, and a MySQL instance running version 8.0.37.

This project can be deployed using docker compose up -d.

dbm-sandbox demo

Requirements

To run this application you will need Go v1.20 or higher installed, this is for building or straight up running the application.

To make use of the DBMS Providers, you may need specific tools installed.

For example to make use of the default Docker DBMS Provider, you will need to have Docker and Docker Compose installed.

You will also need to have your Datadog API Key set in the environment variable DD_API_KEY. This is required because when the provider is creating the configuration files for the project, it will need the API Key to inject it into the template.

Below is an example of the error you would get if we can't find the DD_API_KEY environment variable:

missing api key error

About

The goal of this project is to speed up deploying a sandbox that already has a configured Datadog Agent for DBM and a DBMS that can be used for replication or just general use.

License:MIT License


Languages

Language:Go 97.4%Language:PLpgSQL 2.6%