# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: MailDev
spec:
    description: |
        MailDev is an SMTP server and web interface for viewing and testing emails during development. It catches all mail sent to it and displays it in a clean web UI.
    coverImage: https://raw.githubusercontent.com/maildev/maildev/gh-pages/images/screenshot-2021-01-03.png
    icon: https://avatars.githubusercontent.com/u/26743469
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain to access MailDev web interface
    tags:
        - Tool
        - Developer Tools
    readme: |
        # MailDev

        An SMTP server and web interface for viewing and testing emails during development. MailDev catches all mail sent via SMTP and displays it in a web UI.

        ## Getting Started

        1. **Visit your domain** to open the MailDev web interface
        2. **Configure your app** to send emails to `<service-hostname>:1025` as the SMTP server
        3. **View emails** in real-time as they arrive in the web UI
        4. **Inspect HTML/text** content, headers, and attachments

        ## Ports

        - **Web UI**: accessible via your domain (port 1080)
        - **SMTP**: port 1025 (use this in your application's email settings)

        ## Key Features

        - Catches all outgoing emails via SMTP
        - Web UI with real-time updates
        - HTML and plain text email preview
        - Attachment viewing
        - REST API for automation
        - No database required

        ## License

        MIT — [GitHub](https://github.com/maildev/maildev)
    services:
        - name: maildev
          icon: https://avatars.githubusercontent.com/u/26743469
          template: PREBUILT_V2
          spec:
            source:
                image: maildev/maildev:2.2.1
            ports:
                - id: web
                  port: 1080
                  type: HTTP
                - id: smtp
                  port: 1025
                  type: TCP
            env:
                MAILDEV_SMTP_PORT:
                    default: "1025"
                MAILDEV_WEB_PORT:
                    default: "1080"
            healthCheck:
                type: HTTP
                port: web
                http:
                    path: /
          domainKey: PUBLIC_DOMAIN
localization:
    es-ES:
        description: |
            MailDev es un servidor SMTP e interfaz web para ver y probar correos electronicos durante el desarrollo. Captura todos los correos enviados y los muestra en una interfaz web.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Dominio
              description: El dominio para acceder a la interfaz web de MailDev
        readme: |
            # MailDev

            Servidor SMTP e interfaz web para pruebas de correo electronico durante el desarrollo.

            ## Primeros pasos

            1. **Visita tu dominio** — abre la interfaz web de MailDev
            2. **Configura tu app** — apunta el SMTP a `<service-hostname>:1025`
            3. **Visualiza en tiempo real** — los correos aparecen al instante
            4. **Inspecciona contenido** — revisa HTML, texto, encabezados y adjuntos

            ## Licencia

            MIT — [GitHub](https://github.com/maildev/maildev)
    id-ID:
        description: |
            MailDev adalah server SMTP dan antarmuka web untuk melihat dan menguji email selama pengembangan. Menangkap semua email yang dikirim dan menampilkannya di UI web.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: Domain
              description: Domain untuk mengakses antarmuka web MailDev
        readme: |
            # MailDev

            Server SMTP dan antarmuka web untuk pengujian email selama pengembangan.

            ## Memulai

            1. **Buka domain** — akses antarmuka web MailDev
            2. **Konfigurasi aplikasi** — arahkan SMTP ke `<service-hostname>:1025`
            3. **Lihat real-time** — email muncul saat tiba
            4. **Periksa konten** — lihat HTML, teks, header, dan lampiran

            ## Lisensi

            MIT — [GitHub](https://github.com/maildev/maildev)
    ja-JP:
        description: |
            MailDev は開発テスト用の SMTP サーバーとメール閲覧インターフェースです。送信されたすべてのメールをキャプチャし、Web UI で表示します。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: ドメイン
              description: MailDev Web インターフェースにアクセスするためのドメイン
        readme: |
            # MailDev

            開発テスト用の SMTP サーバーとメール閲覧インターフェース。

            ## はじめに

            1. **ドメインにアクセス** — MailDev Web UI を開く
            2. **アプリを設定** — SMTP サーバーを `<service-hostname>:1025` に設定
            3. **リアルタイム表示** — メール到着時に即座に表示
            4. **内容を確認** — HTML、テキスト、ヘッダー、添付ファイルを確認

            ## ライセンス

            MIT — [GitHub](https://github.com/maildev/maildev)
    ko-KR:
        description: |
            MailDev는 개발 테스트용 SMTP 서버 및 이메일 뷰어입니다. 모든 발신 이메일을 캡처하여 웹 UI에서 표시합니다.
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 도메인
              description: MailDev 웹 인터페이스에 접속할 도메인
        readme: |
            # MailDev

            개발 테스트용 SMTP 서버 및 이메일 뷰어.

            ## 시작하기

            1. **도메인 접속** — MailDev 웹 UI 열기
            2. **앱 설정** — SMTP 서버를 `<service-hostname>:1025`로 설정
            3. **실시간 확인** — 이메일 도착 시 즉시 표시
            4. **내용 확인** — HTML, 텍스트, 헤더, 첨부 파일 확인

            ## 라이선스

            MIT — [GitHub](https://github.com/maildev/maildev)
    th-TH:
        description: |
            MailDev เป็นเซิร์ฟเวอร์ SMTP และอินเทอร์เฟซเว็บสำหรับดูและทดสอบอีเมลระหว่างการพัฒนา ดักจับอีเมลทั้งหมดและแสดงใน Web UI
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: โดเมน
              description: โดเมนสำหรับเข้าถึงอินเทอร์เฟซเว็บ MailDev
        readme: |
            # MailDev

            เซิร์ฟเวอร์ SMTP และอินเทอร์เฟซเว็บสำหรับทดสอบอีเมลระหว่างการพัฒนา

            ## เริ่มต้นใช้งาน

            1. **เข้าสู่โดเมน** — เปิดอินเทอร์เฟซเว็บ MailDev
            2. **ตั้งค่าแอป** — ชี้ SMTP ไปที่ `<service-hostname>:1025`
            3. **ดูแบบเรียลไทม์** — อีเมลแสดงทันทีเมื่อมาถึง
            4. **ตรวจสอบเนื้อหา** — ดู HTML ข้อความ ส่วนหัว และไฟล์แนบ

            ## สัญญาอนุญาต

            MIT — [GitHub](https://github.com/maildev/maildev)
    zh-CN:
        description: |
            MailDev 是一个开发测试用的 SMTP 服务器和邮件查看界面。拦截所有发送的邮件并在网页界面中显示。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 域名
              description: 访问 MailDev 网页界面的域名
        readme: |
            # MailDev

            开发测试用的 SMTP 服务器和邮件查看界面，拦截所有 SMTP 邮件并在网页界面显示。

            ## 开始使用

            1. **打开域名** — 访问 MailDev 网页界面
            2. **配置应用** — 将 SMTP 服务器指向 `<service-hostname>:1025`
            3. **实时查看** — 邮件到达时实时显示
            4. **检查内容** — 查看 HTML、纯文本、标头和附件

            ## 端口

            - **网页界面**：通过域名访问（端口 1080）
            - **SMTP**：端口 1025

            ## 授权

            MIT — [GitHub](https://github.com/maildev/maildev)
    zh-TW:
        description: |
            MailDev 是一個用於開發測試的 SMTP 伺服器和郵件檢視介面。攔截所有發送的郵件並在網頁介面中顯示。
        variables:
            - key: PUBLIC_DOMAIN
              type: STRING
              name: 網域
              description: 存取 MailDev 網頁介面的網域
        readme: |
            # MailDev

            開發測試用的 SMTP 伺服器和郵件檢視介面，攔截所有 SMTP 郵件並在網頁介面顯示。

            ## 開始使用

            1. **開啟網域** — 存取 MailDev 網頁介面
            2. **設定應用程式** — 將 SMTP 伺服器指向 `<service-hostname>:1025`
            3. **即時檢視** — 郵件到達時即時顯示
            4. **檢查內容** — 查看 HTML、純文字、標頭和附件

            ## 連接埠

            - **網頁介面**：透過網域存取（連接埠 1080）
            - **SMTP**：連接埠 1025

            ## 授權

            MIT — [GitHub](https://github.com/maildev/maildev)
