# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: AdminerEvo
spec:
    description: A web-based database management interface.
    icon: https://docs.adminerevo.org/assets/logo.svg
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: The domain for accessing your AdminerEvo instance.
    readme: |
        # AdminerEvo

        **AdminerEvo** is a web-based database management interface, with a focus on security, user experience, performance, functionality and size. AdminerEvo works out of the box with MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Elasticsearch and MongoDB. In addition, there are plugins for SimpleDB, Firebird and ClickHouse.

        ## Deployment

        It's better to append this service into your existing project instead of creating another project.

        To connect to the database within your project, use the [private network address](https://zeabur.com/docs/networking/private).
    services:
        - name: adminerevo
          icon: https://docs.adminerevo.org/assets/logo.svg
          template: PREBUILT
          spec:
            id: adminerevo
            source:
                image: ghcr.io/shyim/adminerevo:latest
            ports:
                - id: web
                  port: 8080
                  type: HTTP
          domainKey: PUBLIC_DOMAIN
