{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7a2d7d7c-04c5-49b2-a969-c1b23cf9cb5d",
    "slug": "ntfy-1",
    "name": "ntfy | Open-Source Push Notification Service",
    "description": "Self Host ntfy. Notification server with mobile apps and REST API",
    "url": "https://railway.com/deploy/ntfy-1",
    "upstream": {
      "image": "binwiederhier/ntfy:latest"
    }
  },
  "services": [
    {
      "name": "Nfty",
      "source": {
        "image": "binwiederhier/ntfy:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/cache/ntfy",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "NTFY_BASE_URL",
      "service": "Nfty",
      "description": "Public-facing instance URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NTFY_CACHE_FILE",
      "service": "Nfty",
      "description": "SQLite message cache path",
      "secret": false,
      "strategy": "default",
      "default": "/var/cache/ntfy/cache.db"
    },
    {
      "key": "NTFY_LISTEN_HTTP",
      "service": "Nfty",
      "description": "HTTP listen address and port",
      "secret": false,
      "strategy": "default",
      "default": ":80"
    },
    {
      "key": "NTFY_BEHIND_PROXY",
      "service": "Nfty",
      "description": "Trust reverse proxy headers",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ntfy-1"
      }
    },
    "cli": "railway deploy --template ntfy-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7a2d7d7c-04c5-49b2-a969-c1b23cf9cb5d",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "282e7335-4c87-47c7-96dc-73d5218ac8a4": {
                  "icon": "https://raw.githubusercontent.com/binwiederhier/ntfy/main/web/public/static/images/ntfy.png",
                  "name": "Nfty",
                  "deploy": {
                    "startCommand": "ntfy serve",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "binwiederhier/ntfy:latest"
                  },
                  "variables": {
                    "NTFY_BASE_URL": {
                      "isOptional": false,
                      "description": "Public-facing instance URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NTFY_CACHE_FILE": {
                      "isOptional": false,
                      "description": "SQLite message cache path",
                      "defaultValue": "/var/cache/ntfy/cache.db"
                    },
                    "NTFY_LISTEN_HTTP": {
                      "isOptional": false,
                      "description": "HTTP listen address and port",
                      "defaultValue": ":80"
                    },
                    "NTFY_BEHIND_PROXY": {
                      "isOptional": false,
                      "description": "Trust reverse proxy headers",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "282e7335-4c87-47c7-96dc-73d5218ac8a4": {
                      "mountPath": "/var/cache/ntfy"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T14:33:13.156Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6358e027fa81475dac1d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 88,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Nfty"
  }
}
