# Gitea to ntfy Webhook Bridge
# Receives Gitea webhooks and forwards formatted messages to ntfy
# Port: 8095 (internal)
#
# Usage: Add webhook in Gitea pointing to http://192.168.0.210:8095/webhook
# Target ntfy topic: homelab-alerts

services:
  gitea-ntfy-bridge:
    image: python:3.12-alpine
    container_name: gitea-ntfy-bridge
    environment:
      - NTFY_URL=https://ntfy.vish.gg
      - NTFY_TOPIC="REDACTED_NTFY_TOPIC"
    ports:
      - "8095:8095"
    volumes:
      - ./gitea-ntfy-bridge:/app:ro
    command: ["python", "/app/bridge.py"]
    restart: unless-stopped
