Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (41 sloc) 1.07 KB
[
{
"name": "alertmanager",
"image": "prom/alertmanager",
"memoryReservation": 512,
"essential": true,
"portMappings": [
{
"containerPort": 9093,
"hostPort": 9093
},
{
"containerPort": 9094,
"hostPort": 9094
}
],
"environment": [
{
"Name": "ALERTMANAGER_CONFIG",
"Value": "${alertmanager_config_base64}"
},
{
"Name": "TEMPLATES",
"Value": "${templates_base64}"
}
],
"entryPoint": [
"/bin/sh",
"-c",
"echo \"$ALERTMANAGER_CONFIG\" | base64 -d > /etc/alertmanager/alertmanager.yml; echo \"$TEMPLATES\" | base64 -d > /etc/alertmanager/default.tmpl; /bin/alertmanager --config.file=/etc/alertmanager/alertmanager.yml --cluster.peer=alertmanager.local.gds-reliability.engineering:9094 ${alertmanager_url}"
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "${log_group}",
"awslogs-region": "${region}",
"awslogs-stream-prefix": "alertmanager"
}
}
}
]
You can’t perform that action at this time.