forked from HHS/TANF-app
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- update deploy script to get sendgrid api key from backend to templa…
…te into alertmanager config - Update manifest to pull alertmanager binary and start it
- Loading branch information
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
version: 1 | ||
applications: | ||
- name: alertmanager | ||
memory: 512M | ||
disk_quota: 1G | ||
memory: 128M | ||
disk_quota: 5G | ||
instances: 1 | ||
command: | | ||
mkdir /tmp | ||
mkdir data | ||
wget https://github.com/prometheus/alertmanager/releases/download/v0.27.0/alertmanager-0.27.0.linux-amd64.tar.gz | ||
tar -zxvf alertmanager-0.27.0.linux-amd64.tar.gz | ||
mv alertmanager-0.27.0.linux-amd64 alertmanager | ||
rm -rf alertmanager-0.27.0.linux-amd64.tar.gz | ||
./alertmanager --config.file=/home/vcap/app/alertmanager.prod.yml --storage.path=/home/vcap/app/data --log.level=debug --web.external-url=http://alertmanager.apps.internal:8080/alerts --web.route-prefix=/alerts --cluster.listen-address="" | ||
buildpacks: | ||
- https://github.com/cloudfoundry/binary-buildpack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters