{
  "id": "ferretdb",
  "name": "FerretDB",
  "slogan": "A MongoDB compatible database that stores documents in PostgreSQL. Runs FerretDB with a bundled PostgreSQL that has the DocumentDB extension, a persistent volume and a generated password. It is not published on the host, so reach it from other services in this project at ferretdb:27017.",
  "category": "Database Tools",
  "categorySlug": "database-tools",
  "tags": [
    "postgres",
    "multi-service"
  ],
  "license": {
    "spdx": "Apache-2.0",
    "class": "permissive"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install ferretdb --name my-ferretdb",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/ferretdb/",
  "docsUrl": "https://docs.ferretdb.io/",
  "sourceRepo": "https://github.com/FerretDB/FerretDB",
  "markdownUrl": "https://levelrail.com/templates/ferretdb.md",
  "jsonUrl": "https://levelrail.com/templates/ferretdb.json",
  "indexable": true,
  "description": "A MongoDB compatible database that stores documents in PostgreSQL. Runs FerretDB with a bundled PostgreSQL that has the DocumentDB extension, a persistent volume and a generated password. It is not published on the host, so reach it from other services in this project at ferretdb:27017.",
  "pinnedTag": "2.7.0",
  "licenseUrl": "https://github.com/FerretDB/FerretDB/blob/main/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Read the generated password from the app secrets, then connect with a MongoDB client as the ferretdb user from a service in the same project."
  ],
  "services": [
    {
      "name": "ferretdb",
      "image": "ghcr.io/ferretdb/ferretdb",
      "tag": "2.7.0",
      "ports": [
        27017
      ],
      "volumes": []
    },
    {
      "name": "postgres",
      "image": "ghcr.io/ferretdb/postgres-documentdb",
      "tag": "17-0.107.0-ferretdb-2.7.0",
      "ports": [],
      "volumes": [
        "pgdata -> /var/lib/postgresql/data"
      ]
    }
  ],
  "env": [
    {
      "service": "ferretdb",
      "name": "FERRETDB_POSTGRESQL_URL",
      "kind": "generated"
    },
    {
      "service": "ferretdb",
      "name": "FERRETDB_TELEMETRY",
      "kind": "preset"
    },
    {
      "service": "postgres",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "postgres",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "postgres",
      "name": "POSTGRES_USER",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy ferretdb --name my-ferretdb",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/ferretdb/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy ferretdb --name my-ferretdb"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/ferretdb/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
