{
  "id": "mongodb",
  "name": "MongoDB",
  "slogan": "The MongoDB document database on the official image, with a persistent volume and a generated root user and password. It is not published on the host, so reach it from other services in this project at mongodb:27017.",
  "category": "Database Tools",
  "categorySlug": "database-tools",
  "tags": [
    "mongodb",
    "single-container"
  ],
  "license": {
    "spdx": "LicenseRef-SSPL-1.0",
    "class": "source-available"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install mongodb --name my-mongodb",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/mongodb/",
  "docsUrl": "https://www.mongodb.com/docs/manual/",
  "sourceRepo": "https://github.com/mongodb/mongo",
  "markdownUrl": "https://levelrail.com/templates/mongodb.md",
  "jsonUrl": "https://levelrail.com/templates/mongodb.json",
  "indexable": true,
  "description": "The MongoDB document database on the official image, with a persistent volume and a generated root user and password. It is not published on the host, so reach it from other services in this project at mongodb:27017.",
  "pinnedTag": "8.0.34",
  "licenseUrl": "https://github.com/mongodb/mongo/blob/master/LICENSE-Community.txt",
  "licenseClassLabel": "Source available",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Read the generated root user and password from the app secrets, then connect from a service in the same project with mongodb://USER:PASSWORD@mongodb:27017/?authSource=admin."
  ],
  "services": [
    {
      "name": "mongodb",
      "image": "mongo",
      "tag": "8.0.34",
      "ports": [
        27017
      ],
      "volumes": [
        "mongodb_data -> /data/db",
        "mongodb_config -> /data/configdb"
      ]
    }
  ],
  "env": [
    {
      "service": "mongodb",
      "name": "MONGO_INITDB_ROOT_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "mongodb",
      "name": "MONGO_INITDB_ROOT_USERNAME",
      "kind": "generated"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy mongodb --name my-mongodb",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/mongodb/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy mongodb --name my-mongodb"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/mongodb/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
