Sign inSign up

skofgar/automation-agent

By skofgar

•Updated over 9 years ago

Simplifies the creation of a docker image for the deployment of the MongoDB MMS Automation Agent.

Image
0

1.1K

skofgar/automation-agent repository overview

⁠About this repository

Docker Automated buil Docker Pulls

This repository contains a Dockerfile that simplifies the creation of a docker image for the deployment of the MongoDB MMS Automation Agent. In order to start this image some required flags need to be passed along (baseUrl, groupId and apiKey), please review the instructions below.

For more detailed installation steps please review MMS Automation Agent Installation Guide⁠.

⁠Run

In order to run a container three flags need to be provided. The three flags are:

  • --mmsBaseUrl
  • --mmsGroupId
  • --mmsApiKey

These three inputs can be retrieved from the MongoDB Ops Manager⁠ under Settings > Group Settings > GroupID and Agent API Key (docs⁠).

⁠Example

This is an example how an image could be run in it's own network.

⁠Create network

docker network create --subnet=172.18.0.0/16 mongoNet

⁠Create image

Note: Before this image can be added MongoDB OPS Manager⁠ needs to be set up.

docker run -d --name testAgent --net mongoNet --ip 172.18.0.11 -p 27010:27000 --privileged skofgar/automation-agent --mmsBaseUrl=http://172.18.0.2:8080 --mmsGroupId=1234567890 --mmsApiKey=12345567890

⁠Credits

This Dockerfile is inspired by https://github.com/mcascallares/mongodb-automation⁠

Tag summary

Content type

Image

Digest

Size

94.3 MB

Last updated

over 9 years ago

docker pull skofgar/automation-agent