# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: Certimate
spec:
    description: An open-source SSL certificate management tool that helps you automatically apply for and deploy SSL certificates, as well as automatically renew them when they are about to expire.
    variables:
        - key: PUBLIC_DOMAIN
          type: DOMAIN
          name: Domain
          description: What is the domain name you want to use for the service?
    tags:
        - Automation
        - Tool
    readme: "# \U0001F512Certimate\n\nFor individuals managing personal projects or those responsible for IT operations in small businesses who need to manage multiple domain names, applying for certificates manually comes with several drawbacks:\n\n1. \U0001F631Troublesome: Applying for and deploying certificates isn’t difficult, but it can be quite a hassle, especially when managing multiple domains.\n2. \U0001F62DEasily forgotten: The current free certificate has a validity period of only 90 days, requiring regular renewal operations. This increases the workload and makes it easy to forget, which can result in the website becoming inaccessible.\n\nCertimate was created to solve the above-mentioned issues and has the following features:\n\n1. Simple operation: Automatically apply, deploy, and renew SSL certificates without any manual intervention.\n2. Support for self-hosted deployment: The deployment method is simple; you only need to download the binary file and execute it. Both the binary files and Docker images are generated using GitHub Actions, ensuring a transparent process that can be audited independently.\n3. Data security: Since it is a self-hosted deployment, all data is stored locally and will not be saved on the service provider’s servers, ensuring the security of the data.\n\n\n## Usage\n\nAfter completing the installation steps above, you can access the Certimate management page in your browser.\n\n```bash\nusername：admin@certimate.fun\npassword：1234567890\n```\n\n![usage.gif](https://i.imgur.com/zpCoLVM.gif)\n\n> GitHub: [https://github.com/usual2970/certimate](https://github.com/usual2970/certimate)\n> Docs: [https://docs.certimate.me](https://docs.certimate.me)\n"
    services:
        - name: certimate
          template: PREBUILT
          spec:
            source:
                image: usual2970/certimate:latest
            ports:
                - id: web
                  port: 8090
                  type: HTTP
          domainKey:
            - port: web
              variable: PUBLIC_DOMAIN
