{
  "id": "netbox",
  "name": "NetBox",
  "slogan": "Source-of-truth IPAM and DCIM for tracking IP space, racks, devices, and cabling.",
  "category": "Infrastructure",
  "categorySlug": "infrastructure",
  "tags": [
    "postgres",
    "redis",
    "multi-service"
  ],
  "license": {
    "spdx": "Apache-2.0",
    "class": "permissive"
  },
  "memoryMiB": 1024,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install netbox --name my-netbox",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/netbox/",
  "docsUrl": "https://github.com/netbox-community/netbox-docker",
  "sourceRepo": "https://github.com/netbox-community/netbox",
  "markdownUrl": "https://levelrail.com/templates/netbox.md",
  "jsonUrl": "https://levelrail.com/templates/netbox.json",
  "indexable": true,
  "description": "Source-of-truth IPAM and DCIM for tracking IP space, racks, devices, and cabling. Runs 3 containers (db, netbox, redis), with netbox listening on port 8080 and keeps its data in named volumes.",
  "pinnedTag": "17-alpine",
  "licenseUrl": "https://github.com/netbox-community/netbox/blob/main/LICENSE.txt",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "db",
      "image": "postgres",
      "tag": "17-alpine",
      "ports": [],
      "volumes": [
        "netbox_db_data -> /var/lib/postgresql/data"
      ]
    },
    {
      "name": "netbox",
      "image": "netboxcommunity/netbox",
      "tag": "v4.6-5.0.2",
      "ports": [
        8080
      ],
      "volumes": [
        "netbox_media -> /opt/netbox/netbox/media",
        "netbox_reports -> /opt/netbox/netbox/reports",
        "netbox_scripts -> /opt/netbox/netbox/scripts"
      ]
    },
    {
      "name": "redis",
      "image": "redis",
      "tag": "7-alpine",
      "ports": [],
      "volumes": [
        "netbox_redis_data -> /data"
      ]
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "POSTGRES_USER",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "ALLOWED_HOSTS",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "DB_HOST",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "DB_NAME",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "DB_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "netbox",
      "name": "DB_USER",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "REDIS_CACHE_DATABASE",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "REDIS_CACHE_HOST",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "REDIS_CACHE_PORT",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "REDIS_DATABASE",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "REDIS_HOST",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "REDIS_PORT",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "SECRET_KEY",
      "kind": "generated"
    },
    {
      "service": "netbox",
      "name": "SUPERUSER_EMAIL",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "SUPERUSER_NAME",
      "kind": "preset"
    },
    {
      "service": "netbox",
      "name": "SUPERUSER_PASSWORD",
      "kind": "generated"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy netbox --name my-netbox",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/netbox/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy netbox --name my-netbox"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/netbox/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
