Mimir offers a few docker-compose based development environments for different deployment modes, including:
Choose a sub-folder for whichever Mimir deployment mode you want to run. Then, to build Mimir from source and run it via docker-compose, run:
./compose-up.sh
This should give you a running Mimir system with Grafana available at htttp://localhost:3000, and other Mimir service UIs available via different ports (check docker ps
for exact ports).
The Minio console is available in most dev environments at http://localhost:9001, with the credentials defined in mimir.yaml.
The Mimir configuration is available in each environment in the /config
directory, along with configurations for other apps that run in the environment. Some deployment related configurations are also available at the top of each environment's docker-compose.jsonnet
file.
The mimir-microservices-mode environment supports debugging running components. To enable debug, set debug: true
at the top of the docker-compose.jsonnet. When Mimir is running, debug ports are at the service's API port + 10000. Run configurations for Goland are available in the mimir-microservices-mode/goland folder, which will connect to each service on their debug port.