{
  "manifest_version": "1.0.0",
  "template": {
    "id": "2103a0c1-2a2d-4d9b-9175-ae6293c1b533",
    "slug": "dicebear",
    "name": "Dicebear",
    "description": "Create avatars for your profiles, designs, websites or apps.",
    "url": "https://railway.com/deploy/dicebear",
    "upstream": {
      "repo_url": "https://github.com/dicebear/api"
    }
  },
  "services": [
    {
      "name": "dicebear",
      "source": {
        "repo": "https://github.com/dicebear/api"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PNG",
      "service": "dicebear",
      "description": "Enable the PNG endpoint. Defaults to 1 (true)",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "AVIF",
      "service": "dicebear",
      "description": "Enable the AVIF endpoint. Defaults to 1 (true)",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "HOST",
      "service": "dicebear",
      "description": "The host on which the HTTP API should listen. Defaults to 0.0.0.0 (all IPv4 addresses). See https://fastify.dev/docs/latest/Reference/Server#listentextresolver",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "JPEG",
      "service": "dicebear",
      "description": "Enable the JPEG endpoint. Defaults to 1 (true)",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "PORT",
      "service": "dicebear",
      "description": "The port on which the HTTP API should listen. Defaults to 3000",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "WEBP",
      "service": "dicebear",
      "description": "Enable the WebP endpoint. Defaults to 1 (true)",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "LOGGER",
      "service": "dicebear",
      "description": "Enable the logger. Defaults to 0 (false)",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "WORKERS",
      "service": "dicebear",
      "description": "The number of node worker threads to use. Defaults to 1",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "PNG_EXIF",
      "service": "dicebear",
      "description": "Enable EXIF data for the PNG endpoint. Defaults to 1 (true)",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "VERSIONS",
      "service": "dicebear",
      "description": "Comma separated specification of desired DiceBear Major versions. Default to 5,6,7,8,9",
      "secret": false,
      "strategy": "default",
      "default": "5,6,7,8,9"
    },
    {
      "key": "AVIF_EXIF",
      "service": "dicebear",
      "description": "Enable EXIF data for the AVIF endpoint. Defaults to 1 (true)",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "JPEG_EXIF",
      "service": "dicebear",
      "description": "Enable EXIF data for the JPEG endpoint. Defaults to 1 (true)",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "WEBP_EXIF",
      "service": "dicebear",
      "description": "Enable EXIF data for the WebP endpoint. Defaults to 1 (true)",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "PNG_SIZE_MAX",
      "service": "dicebear",
      "description": "The maximum size for the PNG endpoint. Defaults to 128",
      "secret": false,
      "strategy": "default",
      "default": "128"
    },
    {
      "key": "PNG_SIZE_MIN",
      "service": "dicebear",
      "description": "The minimum size for the PNG endpoint. Defaults to 1",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "AVIF_SIZE_MAX",
      "service": "dicebear",
      "description": "The maximum size for the AVIF endpoint. Defaults to 128",
      "secret": false,
      "strategy": "default",
      "default": "128"
    },
    {
      "key": "AVIF_SIZE_MIN",
      "service": "dicebear",
      "description": "The minimum size for the AVIF endpoint. Defaults to 1",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "JPEG_SIZE_MAX",
      "service": "dicebear",
      "description": "The maximum size for the JPEG endpoint. Defaults to 128",
      "secret": false,
      "strategy": "default",
      "default": "128"
    },
    {
      "key": "JPEG_SIZE_MIN",
      "service": "dicebear",
      "description": "The minimum size for the JPEG endpoint. Defaults to 1",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "WEBP_SIZE_MAX",
      "service": "dicebear",
      "description": "The maximum size for the WebP endpoint. Defaults to 128",
      "secret": false,
      "strategy": "default",
      "default": "128"
    },
    {
      "key": "WEBP_SIZE_MIN",
      "service": "dicebear",
      "description": "The minimum size for the WebP endpoint. Defaults to 1",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "PNG_SIZE_DEFAULT",
      "service": "dicebear",
      "description": "The default size for the PNG endpoint. Defaults to 128",
      "secret": false,
      "strategy": "default",
      "default": "128"
    },
    {
      "key": "AVIF_SIZE_DEFAULT",
      "service": "dicebear",
      "description": "The default size for the AVIF endpoint. Defaults to 128",
      "secret": false,
      "strategy": "default",
      "default": "128"
    },
    {
      "key": "JPEG_SIZE_DEFAULT",
      "service": "dicebear",
      "description": "The default size for the JPEG endpoint. Defaults to 128",
      "secret": false,
      "strategy": "default",
      "default": "128"
    },
    {
      "key": "WEBP_SIZE_DEFAULT",
      "service": "dicebear",
      "description": "The default size for the WebP endpoint. Defaults to 128",
      "secret": false,
      "strategy": "default",
      "default": "128"
    },
    {
      "key": "CACHE_CONTROL_AVATARS",
      "service": "dicebear",
      "description": "Cache duration for the avatars endpoint in seconds. Defaults to 31536000 (1 year)",
      "secret": false,
      "strategy": "default",
      "default": "31536000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "dicebear"
      }
    },
    "cli": "railway deploy --template dicebear",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "2103a0c1-2a2d-4d9b-9175-ae6293c1b533",
            "serializedConfig": {
              "services": {
                "385fc5e1-d24c-4e00-83dd-d71c487c5a59": {
                  "name": "dicebear",
                  "source": {
                    "repo": "dicebear/api",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PNG": {
                      "description": "Enable the PNG endpoint. Defaults to 1 (true)",
                      "defaultValue": "1"
                    },
                    "AVIF": {
                      "description": "Enable the AVIF endpoint. Defaults to 1 (true)",
                      "defaultValue": "1"
                    },
                    "HOST": {
                      "description": "The host on which the HTTP API should listen. Defaults to 0.0.0.0 (all IPv4 addresses). See https://fastify.dev/docs/latest/Reference/Server#listentextresolver",
                      "defaultValue": "0.0.0.0"
                    },
                    "JPEG": {
                      "description": "Enable the JPEG endpoint. Defaults to 1 (true)",
                      "defaultValue": "1"
                    },
                    "PORT": {
                      "description": "The port on which the HTTP API should listen. Defaults to 3000",
                      "defaultValue": "3000"
                    },
                    "WEBP": {
                      "description": "Enable the WebP endpoint. Defaults to 1 (true)",
                      "defaultValue": "1"
                    },
                    "LOGGER": {
                      "description": "Enable the logger. Defaults to 0 (false)",
                      "defaultValue": "0"
                    },
                    "WORKERS": {
                      "description": "The number of node worker threads to use. Defaults to 1",
                      "defaultValue": "1"
                    },
                    "PNG_EXIF": {
                      "description": "Enable EXIF data for the PNG endpoint. Defaults to 1 (true)",
                      "defaultValue": "1"
                    },
                    "VERSIONS": {
                      "description": "Comma separated specification of desired DiceBear Major versions. Default to 5,6,7,8,9",
                      "defaultValue": "5,6,7,8,9"
                    },
                    "AVIF_EXIF": {
                      "description": "Enable EXIF data for the AVIF endpoint. Defaults to 1 (true)",
                      "defaultValue": "1"
                    },
                    "JPEG_EXIF": {
                      "description": "Enable EXIF data for the JPEG endpoint. Defaults to 1 (true)",
                      "defaultValue": "1"
                    },
                    "WEBP_EXIF": {
                      "description": "Enable EXIF data for the WebP endpoint. Defaults to 1 (true)",
                      "defaultValue": "1"
                    },
                    "PNG_SIZE_MAX": {
                      "description": "The maximum size for the PNG endpoint. Defaults to 128",
                      "defaultValue": "128"
                    },
                    "PNG_SIZE_MIN": {
                      "description": "The minimum size for the PNG endpoint. Defaults to 1",
                      "defaultValue": "1"
                    },
                    "AVIF_SIZE_MAX": {
                      "description": "The maximum size for the AVIF endpoint. Defaults to 128",
                      "defaultValue": "128"
                    },
                    "AVIF_SIZE_MIN": {
                      "description": "The minimum size for the AVIF endpoint. Defaults to 1",
                      "defaultValue": "1"
                    },
                    "JPEG_SIZE_MAX": {
                      "description": "The maximum size for the JPEG endpoint. Defaults to 128",
                      "defaultValue": "128"
                    },
                    "JPEG_SIZE_MIN": {
                      "description": "The minimum size for the JPEG endpoint. Defaults to 1",
                      "defaultValue": "1"
                    },
                    "WEBP_SIZE_MAX": {
                      "description": "The maximum size for the WebP endpoint. Defaults to 128",
                      "defaultValue": "128"
                    },
                    "WEBP_SIZE_MIN": {
                      "description": "The minimum size for the WebP endpoint. Defaults to 1",
                      "defaultValue": "1"
                    },
                    "PNG_SIZE_DEFAULT": {
                      "description": "The default size for the PNG endpoint. Defaults to 128",
                      "defaultValue": "128"
                    },
                    "AVIF_SIZE_DEFAULT": {
                      "description": "The default size for the AVIF endpoint. Defaults to 128",
                      "defaultValue": "128"
                    },
                    "JPEG_SIZE_DEFAULT": {
                      "description": "The default size for the JPEG endpoint. Defaults to 128",
                      "defaultValue": "128"
                    },
                    "WEBP_SIZE_DEFAULT": {
                      "description": "The default size for the WebP endpoint. Defaults to 128",
                      "defaultValue": "128"
                    },
                    "CACHE_CONTROL_AVATARS": {
                      "description": "Cache duration for the avatars endpoint in seconds. Defaults to 31536000 (1 year)",
                      "defaultValue": "31536000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-18T19:13:42.974Z",
  "success_rate_30d": 0.2,
  "validation": {
    "last_run_id": "run_20626d695bc842d2b501",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ],
    "typical_ready_seconds": 99,
    "typical_build_seconds": 30,
    "typical_start_seconds": 10,
    "slowest_service": "dicebear"
  }
}
