{
  "id": "paymenter",
  "name": "Paymenter",
  "slogan": "Open-source billing and client management for hosting providers, with invoices, subscriptions and provisioning extensions.",
  "category": "Finance",
  "categorySlug": "finance",
  "tags": [
    "mysql",
    "redis",
    "multi-service"
  ],
  "license": {
    "spdx": "MIT",
    "class": "permissive"
  },
  "memoryMiB": 768,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install paymenter --name my-paymenter",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/paymenter/",
  "docsUrl": "https://paymenter.org/docs/guides/docker",
  "sourceRepo": "https://github.com/Paymenter/Paymenter",
  "markdownUrl": "https://levelrail.com/templates/paymenter.md",
  "jsonUrl": "https://levelrail.com/templates/paymenter.json",
  "indexable": true,
  "description": "Open-source billing and client management for hosting providers, with invoices, subscriptions and provisioning extensions.",
  "pinnedTag": "11.8",
  "licenseUrl": "https://github.com/Paymenter/Paymenter/blob/master/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "mariadb",
      "image": "mariadb",
      "tag": "11.8",
      "ports": [],
      "volumes": [
        "mariadb -> /var/lib/mysql"
      ]
    },
    {
      "name": "paymenter",
      "image": "ghcr.io/paymenter/paymenter",
      "tag": "v1.4.5",
      "ports": [
        80
      ],
      "volumes": [
        "logs -> /app/storage/logs",
        "extensions -> /app/extensions",
        "themes -> /app/themes",
        "storage -> /app/storage/app"
      ]
    },
    {
      "name": "redis",
      "image": "redis",
      "tag": "7-alpine",
      "ports": [],
      "volumes": []
    }
  ],
  "env": [
    {
      "service": "mariadb",
      "name": "MYSQL_DATABASE",
      "kind": "preset"
    },
    {
      "service": "mariadb",
      "name": "MYSQL_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "mariadb",
      "name": "MYSQL_ROOT_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "mariadb",
      "name": "MYSQL_USER",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "APP_ENV",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "APP_KEY",
      "kind": "generated"
    },
    {
      "service": "paymenter",
      "name": "APP_URL",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "CACHE_STORE",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "DB_CONNECTION",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "DB_DATABASE",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "DB_HOST",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "DB_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "paymenter",
      "name": "DB_PORT",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "DB_USERNAME",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "QUEUE_CONNECTION",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "REDIS_HOST",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "REDIS_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "paymenter",
      "name": "REDIS_USERNAME",
      "kind": "preset"
    },
    {
      "service": "paymenter",
      "name": "SESSION_DRIVER",
      "kind": "preset"
    },
    {
      "service": "redis",
      "name": "REDIS_PASSWORD",
      "kind": "generated"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install paymenter --name my-paymenter",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/paymenter/install \\\n  -d '{\n    \"name\": \"my-paymenter\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install paymenter --name my-paymenter",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain mariadb=app.example.com."
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/paymenter/install \\\n  -d '{\n    \"name\": \"my-paymenter\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
