{
  "id": "phpipam",
  "name": "phpIPAM",
  "slogan": "An open source IP address management app for tracking subnets, addresses, VLANs and devices, backed by MariaDB. Finish the database install from the first page with the generated root password.",
  "category": "Infrastructure",
  "categorySlug": "infrastructure",
  "tags": [
    "mysql",
    "multi-service"
  ],
  "license": {
    "spdx": "GPL-3.0-or-later",
    "class": "copyleft"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install phpipam --name my-phpipam",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/phpipam/",
  "docsUrl": "https://phpipam.net/documents/",
  "sourceRepo": "https://github.com/phpipam/phpipam",
  "markdownUrl": "https://levelrail.com/templates/phpipam.md",
  "jsonUrl": "https://levelrail.com/templates/phpipam.json",
  "indexable": true,
  "description": "An open source IP address management app for tracking subnets, addresses, VLANs and devices, backed by MariaDB. Finish the database install from the first page with the generated root password.",
  "pinnedTag": "11.8.9",
  "licenseUrl": "https://github.com/phpipam/phpipam/blob/HEAD/LICENSE",
  "licenseClassLabel": "Copyleft license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Open the page, choose automatic database installation, enter root and the generated database root password, then set the admin password."
  ],
  "services": [
    {
      "name": "db",
      "image": "mariadb",
      "tag": "11.8.9",
      "ports": [],
      "volumes": [
        "mariadb_data -> /var/lib/mysql"
      ]
    },
    {
      "name": "phpipam",
      "image": "phpipam/phpipam-www",
      "tag": "v1.9.0",
      "ports": [
        80
      ],
      "volumes": []
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "MYSQL_ROOT_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "phpipam",
      "name": "IPAM_DATABASE_HOST",
      "kind": "preset"
    },
    {
      "service": "phpipam",
      "name": "IPAM_DATABASE_NAME",
      "kind": "preset"
    },
    {
      "service": "phpipam",
      "name": "IPAM_DATABASE_PASS",
      "kind": "generated"
    },
    {
      "service": "phpipam",
      "name": "IPAM_DATABASE_USER",
      "kind": "preset"
    },
    {
      "service": "phpipam",
      "name": "IPAM_DATABASE_WEBHOST",
      "kind": "preset"
    },
    {
      "service": "phpipam",
      "name": "TZ",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install phpipam --name my-phpipam",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/phpipam/install \\\n  -d '{\n    \"name\": \"my-phpipam\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install phpipam --name my-phpipam",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain db=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/phpipam/install \\\n  -d '{\n    \"name\": \"my-phpipam\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
