{
  "manifest_version": "1.0.0",
  "template": {
    "id": "dc43c0f4-528e-4493-9d76-2e9339e2d747",
    "slug": "sentinel",
    "name": "sentinel",
    "description": "Deploy and Host sentinel with Railway",
    "url": "https://railway.com/deploy/sentinel",
    "upstream": {
      "repo_url": "https://github.com/jaxxstorm/sentinel"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "sentinel",
      "source": {
        "repo": "https://github.com/jaxxstorm/sentinel"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "SENTINEL_STATE_PATH",
      "service": "sentinel",
      "description": "Persistent state for sentinel, by default stored on a railway volume",
      "secret": false,
      "strategy": "default",
      "default": "/data/state.json"
    },
    {
      "key": "SENTINEL_NOTIFIER_SINKS",
      "service": "sentinel",
      "description": "Provide a value for SENTINEL_NOTIFIER_SINKS.",
      "secret": false,
      "strategy": "default",
      "default": "[{\"name\":\"stdout-debug\",\"type\":\"stdout\"},{\"name\":\"discord-primary\",\"type\":\"discord\",\"url\":\"${SENTINEL_DISCORD_WEBHOOK_URL}\"}]"
    },
    {
      "key": "SENTINEL_NOTIFIER_ROUTES",
      "service": "sentinel",
      "description": "Provide a value for SENTINEL_NOTIFIER_ROUTES.",
      "secret": false,
      "strategy": "default",
      "default": "[{\"event_types\":[\"*\"],\"severities\":[],\"sinks\":[\"stdout-debug\",\"discord-primary\"]}]"
    },
    {
      "key": "SENTINEL_TSNET_STATE_DIR",
      "service": "sentinel",
      "description": "Directory for the tailscale state, by default is stored on a railway volume",
      "secret": false,
      "strategy": "default",
      "default": "/data/tsnet"
    },
    {
      "key": "SENTINEL_TAILSCALE_AUTH_KEY",
      "service": "sentinel",
      "description": "Auth key to authenticate sentinel to your tailnet",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SENTINEL_DISCORD_WEBHOOK_URL",
      "service": "sentinel",
      "description": "Discord webhook URL",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "sentinel"
      }
    },
    "cli": "railway deploy --template sentinel",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "dc43c0f4-528e-4493-9d76-2e9339e2d747",
            "serializedConfig": {
              "services": {
                "6cbb0c14-89bf-4fee-a7d1-e5a1d336af08": {
                  "name": "sentinel",
                  "source": {
                    "repo": "jaxxstorm/sentinel",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "SENTINEL_STATE_PATH": {
                      "description": "Persistent state for sentinel, by default stored on a railway volume",
                      "defaultValue": "/data/state.json"
                    },
                    "SENTINEL_NOTIFIER_SINKS": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "[{\"name\":\"stdout-debug\",\"type\":\"stdout\"},{\"name\":\"discord-primary\",\"type\":\"discord\",\"url\":\"${SENTINEL_DISCORD_WEBHOOK_URL}\"}]"
                    },
                    "SENTINEL_NOTIFIER_ROUTES": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "[{\"event_types\":[\"*\"],\"severities\":[],\"sinks\":[\"stdout-debug\",\"discord-primary\"]}]"
                    },
                    "SENTINEL_TSNET_STATE_DIR": {
                      "description": "Directory for the tailscale state, by default is stored on a railway volume",
                      "defaultValue": "/data/tsnet"
                    },
                    "SENTINEL_TAILSCALE_AUTH_KEY": {
                      "isOptional": false,
                      "description": "Auth key to authenticate sentinel to your tailnet",
                      "defaultValue": "{{SENTINEL_TAILSCALE_AUTH_KEY}}"
                    },
                    "SENTINEL_DISCORD_WEBHOOK_URL": {
                      "description": "Discord webhook URL",
                      "defaultValue": "{{SENTINEL_DISCORD_WEBHOOK_URL}}"
                    }
                  },
                  "volumeMounts": {
                    "6cbb0c14-89bf-4fee-a7d1-e5a1d336af08": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
