{
  "manifest_version": "1.0.0",
  "template": {
    "id": "448a5b32-749a-4706-807d-6cc079d75e3a",
    "slug": "crucix",
    "name": "crucix",
    "description": "Crucix is a self-hosted OSINT intelligence terminal",
    "url": "https://railway.com/deploy/crucix",
    "upstream": {
      "image": "xiaosong233/crucix:latest"
    }
  },
  "services": [
    {
      "name": "crucix",
      "source": {
        "image": "xiaosong233/crucix:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "crucix",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3117"
    },
    {
      "key": "REFRESH_INTERVAL_MINUTES",
      "service": "crucix",
      "description": "Provide a value for REFRESH_INTERVAL_MINUTES.",
      "secret": false,
      "strategy": "default",
      "default": "15"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "crucix"
      }
    },
    "cli": "railway deploy --template crucix",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "448a5b32-749a-4706-807d-6cc079d75e3a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "f1162956-850a-47a0-a4bb-6a31646ce212": {
                  "icon": null,
                  "name": "crucix",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "xiaosong233/crucix:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "3117"
                    },
                    "LLM_MODEL": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "ACLED_EMAIL": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "EIA_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "LLM_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "FRED_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "LLM_PROVIDER": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "FIRMS_MAP_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "ACLED_PASSWORD": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "DISCORD_GUILD_ID": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "TELEGRAM_CHAT_ID": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "AISSTREAM_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "DISCORD_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "TELEGRAM_CHANNELS": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "DISCORD_CHANNEL_ID": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "DISCORD_WEBHOOK_URL": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "TELEGRAM_POLL_INTERVAL": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "REFRESH_INTERVAL_MINUTES": {
                      "isOptional": false,
                      "defaultValue": "15"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "crucix",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T08:46:55.748Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_2a3933d89f294857a43e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 66,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "crucix"
  }
}
