{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6c6b761b-d23e-473f-9c85-0831ab8154f6",
    "slug": "outpost",
    "name": "outpost",
    "description": "AI coding agent with webhook automation and built-in dashboard",
    "url": "https://railway.com/deploy/outpost",
    "upstream": {
      "image": "ghcr.io/mathuraditya724/outpost:8ead0f1d00f1189e084c08c7c84f054db98a70ff"
    }
  },
  "services": [
    {
      "name": "outpost",
      "source": {
        "image": "ghcr.io/mathuraditya724/outpost:8ead0f1d00f1189e084c08c7c84f054db98a70ff"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/developer/dev",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "GH_TOKEN",
      "service": "outpost",
      "description": "PAT with repo, read:org, workflow scopes. Used for gh CLI and bot identity.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SENTRY_AUTH_TOKEN",
      "service": "outpost",
      "description": "Auth token for Sentry CLI. Used for non-interactive auth.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENTOWER_API_TOKEN",
      "service": "outpost",
      "description": "Bearer token for the /api/* dashboard endpoints. Without this, API requests are rejected with 503.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "GITHUB_WEBHOOK_SECRET",
      "service": "outpost",
      "description": "HMAC secret for verifying GitHub webhook deliveries. Required to receive webhooks.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "outpost"
      }
    },
    "cli": "railway deploy --template outpost",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6c6b761b-d23e-473f-9c85-0831ab8154f6",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "6618f2db-a28c-470a-9fc6-6bf53197b4c5": {
                  "icon": null,
                  "name": "outpost",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/global/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/mathuraditya724/outpost:8ead0f1d00f1189e084c08c7c84f054db98a70ff"
                  },
                  "variables": {
                    "GH_TOKEN": {
                      "isOptional": false,
                      "description": "PAT with repo, read:org, workflow scopes. Used for gh CLI and bot identity.",
                      "defaultValue": "{{GH_TOKEN}}"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "API key for OpenAI models. Optional if another provider key is set.",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "API key for Claude. At least one LLM provider key is required.",
                      "defaultValue": ""
                    },
                    "SENTRY_AUTH_TOKEN": {
                      "isOptional": false,
                      "description": "Auth token for Sentry CLI. Used for non-interactive auth.",
                      "defaultValue": "{{SENTRY_AUTH_TOKEN}}"
                    },
                    "OPENTOWER_API_TOKEN": {
                      "isOptional": false,
                      "description": "Bearer token for the /api/* dashboard endpoints. Without this, API requests are rejected with 503.",
                      "defaultValue": "{{OPENTOWER_API_TOKEN}}"
                    },
                    "EMAIL_WEBHOOK_SECRET": {
                      "isOptional": true,
                      "description": "HMAC secret for verifying email webhook deliveries from Cloudflare Email Worker. Required only if using email triggers.",
                      "defaultValue": ""
                    },
                    "GITHUB_WEBHOOK_SECRET": {
                      "isOptional": false,
                      "description": "HMAC secret for verifying GitHub webhook deliveries. Required to receive webhooks.",
                      "defaultValue": "{{GITHUB_WEBHOOK_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "6618f2db-a28c-470a-9fc6-6bf53197b4c5": {
                      "mountPath": "/home/developer/dev"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "outpost",
      "method": "GET",
      "path": "/global/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T08:31:41.088Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_be49b2f2be6247bda8d6",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 85,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "outpost"
  }
}
