🥞 Meerschaum Stack¶
The Meerschaum stack is an integrated collection of services designed to help you start visualizing your data as quickly as possible.
stack command wraps Docker Compose to create a full-stack Meerschaum installation ― services such as a database instance, API server, and pre-configured Grafana instance.
Install Docker Desktop.
Search your repositories for
docker.io or run this script:
Don't forget to add yourself to the
docker user group and log out and back in.
🟢 Starting the Stack¶
Run the following command to bring up a database and Grafana:
stack command is a wrapper around a pre-configured
docker-compose project. Don't worry if you don't have
docker-compose installed; in case it's missing, Meerschaum will automatically install it within a virtual environment for its own use.
Refer to the
docker-compose overview page to see the available
Grafana is included in the Meerschaum stack, pre-configured with the Meerschaum TimescaleDB database.
Open a web browser and navigate to http://localhost:3000 where you can log into Grafana with username
🛑 Stopping the Stack¶
If you want to stop all the services in the stack, run the stack command with
To remove all services in the stack and delete all data, use the
Data Loss Warning
-v flag in
stack down -v will delete ALL volumes in the stack. That includes pipes' data!
To delete a specific service's volume, run the command
docker volume rm, e.g. to delete just Grafana's data:
📝 Editing the Stack¶
Certain parameters like the main database username and password are linked from the connectors configuration, which may be accessed with
mrsm edit config.
You can find the complete Docker Compose YAML file with: