{
  "id": "nginx",
  "name": "Nginx",
  "slogan": "The Nginx web server on the official Alpine image, serving a persistent web root. It starts with the default welcome page; put your site files in the web root volume through the app's Files.",
  "category": "Infrastructure",
  "categorySlug": "infrastructure",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "BSD-2-Clause",
    "class": "permissive"
  },
  "memoryMiB": 64,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install nginx --name my-nginx",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/nginx/",
  "docsUrl": "https://nginx.org/en/docs/",
  "sourceRepo": "https://github.com/nginx/nginx",
  "markdownUrl": "https://levelrail.com/templates/nginx.md",
  "jsonUrl": "https://levelrail.com/templates/nginx.json",
  "indexable": true,
  "description": "The Nginx web server on the official Alpine image, serving a persistent web root. It starts with the default welcome page; put your site files in the web root volume through the app's Files.",
  "pinnedTag": "1.27.2-alpine",
  "licenseUrl": "https://github.com/nginx/nginx/blob/master/docs/text/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Open the address to see the welcome page, then replace the files in /usr/share/nginx/html with your site."
  ],
  "services": [
    {
      "name": "nginx",
      "image": "nginx",
      "tag": "1.27.2-alpine",
      "ports": [
        80
      ],
      "volumes": [
        "nginx_html -> /usr/share/nginx/html"
      ]
    }
  ],
  "env": [
    {
      "service": "nginx",
      "name": "TZ",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install nginx --name my-nginx",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/nginx/install \\\n  -d '{\n    \"name\": \"my-nginx\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install nginx --name my-nginx",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain nginx=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/nginx/install \\\n  -d '{\n    \"name\": \"my-nginx\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
