Code Monkey home page Code Monkey logo

ecs-grafana's Introduction

Grafana

Grafana ECS Image

Build Grafana and Push to AWS ECR

To build a new Docker image of Grafana for ECS you need to update the Dockerfile to the desired version and run the build.

  • Checkout the last version of the repo and create a new branch
  • Update the Dockerfile to specify the version to build

FROM grafana/grafana:6.0.2

The versions available are listed on the Grafana Docker Hub.

  • Create a Pull Request (this will build the image and validate it).
  • Merge your Pull Request and the Jenkins Job will deploy it to the Management ECS Cluster.

Required Environment Variables

In order to build and run Grafana ECS in AWS, you need to setup an RDS Mysql instance, with the grafana database. The grafana mysql guide has information on this setup.

This build utilizes the aws-env tool from Droplr to grab values from the AWS Parameter store as environment variables that the ECS service will use. See the ENTRYPOINT in the Dockerfile

GF_AUTH_DISABLE_LOGIN_FORM
GF_AUTH_GENERIC_OAUTH_ALLOWED_DOMAINS
GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP
GF_AUTH_GENERIC_OAUTH_API_URL
GF_AUTH_GENERIC_OAUTH_AUTH_URL
GF_AUTH_GENERIC_OAUTH_CLIENT_ID
GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET
GF_AUTH_GENERIC_OAUTH_ENABLED
GF_AUTH_GENERIC_OAUTH_NAME
GF_AUTH_GENERIC_OAUTH_SCOPES
GF_AUTH_GENERIC_OAUTH_TOKEN_URL
GF_DATABASE_NAME
GF_DATABASE_PASSWORD
GF_DATABASE_TYPE
GF_DATABASE_USER
GF_SERVER_ROOT_URL

For more information on the Grafana required values, see the grafana docker guide.

ecs-grafana's People

Watchers

Gary Forrest avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.