From 487affdd13696c1b3c40615482cee29210e0d1b7 Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 3 Apr 2018 13:27:17 +0200 Subject: [PATCH] Minor changes in the README --- bitnami/alertmanager/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bitnami/alertmanager/README.md b/bitnami/alertmanager/README.md index 6487a8a17508..9f59ae67d5f7 100644 --- a/bitnami/alertmanager/README.md +++ b/bitnami/alertmanager/README.md @@ -44,12 +44,12 @@ $ docker build -t bitnami/alertmanager:latest https://github.com/bitnami/bitnami If you remove the container all your data and configurations will be lost, and the next time you run the image the database will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed. -For persistence you should mount a volume at the `/bitnami` path. The above examples define a docker volume namely `alertmanager_data`. The Alertmanager application state will persist as long as this volume is not removed. +For persistence you should mount a volume at the `/opt/bitnami/data` path. The above examples define a docker volume namely `alertmanager_data`. The Alertmanager application state will persist as long as this volume is not removed. To avoid inadvertent removal of this volume you can [mount host directories as data volumes](https://docs.docker.com/engine/tutorials/dockervolumes/). Alternatively you can make use of volume plugins to host the volume data. ```bash -$ docker run -v /path/to/alertmanager-persistence:/bitnami bitnami/alertmanager:latest +$ docker run -v /path/to/alertmanager-persistence:/opt/bitnami/data bitnami/alertmanager:latest ``` # Connecting to other containers @@ -83,6 +83,8 @@ We can launch another containers using the same flag (`--network NETWORK`) in th This is an example configuration that should cover most relevant aspects of the new YAML configuration format. The full documentation of the configuration can be found [here](https://prometheus.io/docs/alerting/configuration/). +This file is located at `/opt/bitnami/alertmanager/conf/config.yml`, you can check the [Persisting your data](# Persisting your application) section to add a custom volume to modify it. + ```yaml global: # The smarthost and SMTP sender used for mail notifications.