Skip to content

Instantly share code, notes, and snippets.

View theinhumaneme's full-sized avatar
🐒
monke

Kalyan Mudumby theinhumaneme

🐒
monke
View GitHub Profile
@theinhumaneme
theinhumaneme / mailgun-migrate.py
Last active December 17, 2024 08:59
mailgun template migration to different accounts
import json
import requests
# Path to the JSON file containing the template data
TEMPLATES_FILE = "templates.json"
# Source and destination Mailgun API keys and domains
SOURCE_API_KEY = '...'
SOURCE_DOMAIN = '...'
DEST_API_KEY = '...'
networks:
monitoring:
external: true
services:
alertmanager:
image: prom/alertmanager:v0.27.0
container_name: alertmanager
restart: unless-stopped
ports:
- "9093:9093"