Added alertmanager-bot
This commit is contained in:
		
							parent
							
								
									1cd2337453
								
							
						
					
					
						commit
						d374a3af1f
					
				| 
						 | 
					@ -24,8 +24,20 @@ services:
 | 
				
			||||||
    ports:
 | 
					    ports:
 | 
				
			||||||
      - "9093:9093"
 | 
					      - "9093:9093"
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
 | 
					      - alert-data:/alertmanager
 | 
				
			||||||
      - alert-configs:/etc/alertmanager
 | 
					      - alert-configs:/etc/alertmanager
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  alertmanager-bot:
 | 
				
			||||||
 | 
					    image: metalmatze/alertmanager-bot:0.4.3
 | 
				
			||||||
 | 
					    environment:
 | 
				
			||||||
 | 
					      TELEGRAM_ADMIN: "<user_id>"
 | 
				
			||||||
 | 
					      TELEGRAM_TOKEN: "<bot_id>"
 | 
				
			||||||
 | 
					      ALERTMANAGER_URL: http://alertmanager:9093
 | 
				
			||||||
 | 
					      STORE: bolt
 | 
				
			||||||
 | 
					      BOLT_PATH: /data/bot.db
 | 
				
			||||||
 | 
					    volumes:
 | 
				
			||||||
 | 
					      - alert-bot-data:/data
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  node-exporter:
 | 
					  node-exporter:
 | 
				
			||||||
    image: prom/node-exporter:v1.2.0
 | 
					    image: prom/node-exporter:v1.2.0
 | 
				
			||||||
    ports:
 | 
					    ports:
 | 
				
			||||||
| 
						 | 
					@ -45,4 +57,6 @@ volumes:
 | 
				
			||||||
  grafana-configs:
 | 
					  grafana-configs:
 | 
				
			||||||
  prom-data:
 | 
					  prom-data:
 | 
				
			||||||
  prom-configs:
 | 
					  prom-configs:
 | 
				
			||||||
 | 
					  alert-data:
 | 
				
			||||||
  alert-configs:
 | 
					  alert-configs:
 | 
				
			||||||
 | 
					  alert-bot-data:
 | 
				
			||||||
		Loading…
	
		Reference in New Issue