Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 965 Bytes

File metadata and controls

21 lines (16 loc) · 965 Bytes

Setting up a local docker-compose environment

This folder contains a docker-compose configuration file to start a local development environment. This includes:

  • YACE, using as config file yace-config.yaml
  • Prometheus, with a scraping configuration targeting YACE
  • Grafana, wih no login required and the Prometheus datasource configured

Docker will mount the ~/.aws directory in order to re-utilize the host's AWS credentials. For selecting which region and AWS profile to use, fill in the AWS_REGION and AWS_PROFILE variables passed to the docker-compose up command, as shown below.

# Build the YACE docker image
docker-compose build

# Start all docker-compose resource
AWS_REGION=us-east-1 AWS_PROFILE=sandbox docker-compose up -d 

After that, Prometheus will be exposed at http://localhost:9090, and Grafana in http://localhost:3000.