{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9bd7c002-cbe0-486f-96e5-ac500694ee19",
    "slug": "Dyj5IJ",
    "name": "thirdweb Insight",
    "description": "Simple & customizable endpoints for querying rich blockchain data.",
    "url": "https://railway.com/deploy/Dyj5IJ",
    "upstream": {
      "image": "thirdweb/insight:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Insight",
      "source": {
        "image": "thirdweb/insight:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Clickhouse",
      "source": {
        "repo": "https://github.com/warengonzaga/thirdweb-insight-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/clickhouse",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Insight",
      "description": "Set the port for the API server to listen on. (Default: 3000)",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "RPC_URL",
      "service": "Insight",
      "description": "Set your RPC URL with your client ID here. e.g. `https://1.rpc.thirdweb.com/<client-id>` (Get your client ID from https://thirdweb.com/dashboard/settings/api-keys)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LOG_LEVEL",
      "service": "Insight",
      "description": "Set the log level for the application. (Default: debug)",
      "secret": false,
      "strategy": "default",
      "default": "debug"
    },
    {
      "key": "LOG_PRETTY",
      "service": "Insight",
      "description": "Set to true to enable pretty logging. (Default: true)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "POLLER_ENABLED",
      "service": "Insight",
      "description": "Set to true to enable the poller. (Default: true)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "POLLER_INTERVAL",
      "service": "Insight",
      "description": "Set the interval for the poller in milliseconds. (Default: 3000)",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "POLLER_FROMBLOCK",
      "service": "Insight",
      "description": "Set the block number from which the poller should start. (Default: 20000000)",
      "secret": false,
      "strategy": "default",
      "default": "20000000"
    },
    {
      "key": "COMMITTER_ENABLED",
      "service": "Insight",
      "description": "Set to true to enable the committer. (Default: true)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "POLLER_UNTILBLOCK",
      "service": "Insight",
      "description": "Set the block number until which the poller should run. (Default: 20000010)",
      "secret": false,
      "strategy": "default",
      "default": "20000010"
    },
    {
      "key": "COMMITTER_INTERVAL",
      "service": "Insight",
      "description": "Set the interval for the committer in milliseconds. (Default: 3000)",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "RPC_TRACES_ENABLED",
      "service": "Insight",
      "description": "Set to true to enable traces indexing. (Default: true)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "COMMITTER_FROMBLOCK",
      "service": "Insight",
      "description": "Set the block number from which the committer should start. (Default: 20000000)",
      "secret": false,
      "strategy": "default",
      "default": "20000000"
    },
    {
      "key": "RPC_LOGS_BATCHDELAY",
      "service": "Insight",
      "description": "Set the batch delay for logs indexing. (Default: 100)",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "POLLER_BLOCKSPERPOLL",
      "service": "Insight",
      "description": "Set the number of blocks per poll for the poller. (Default: 3)",
      "secret": false,
      "strategy": "default",
      "default": "3"
    },
    {
      "key": "REORGHANDLER_ENABLED",
      "service": "Insight",
      "description": "Set to true to enable the reorg handler. (Default: true)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "POLLER_FORCEFROMBLOCK",
      "service": "Insight",
      "description": "Set to true to force the poller to start from a specific block. (Default: false)",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "REORGHANDLER_INTERVAL",
      "service": "Insight",
      "description": "Set the interval for the reorg handler in milliseconds. (Default: 3000)",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "RPC_BLOCKS_BATCHDELAY",
      "service": "Insight",
      "description": "Set the batch delay for blocks indexing. (Default: 100)",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "RPC_TRACES_BATCHDELAY",
      "service": "Insight",
      "description": "Set the batch delay for traces indexing. (Default: 100)",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "API_BASICAUTH_PASSWORD",
      "service": "Insight",
      "description": "Set your API Basic Auth password here.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "API_BASICAUTH_USERNAME",
      "service": "Insight",
      "description": "Set your API Basic Auth username here.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "REORGHANDLER_FROMBLOCK",
      "service": "Insight",
      "description": "Set the block number from which the reorg handler should start. (Default: 20000000)",
      "secret": false,
      "strategy": "default",
      "default": "20000000"
    },
    {
      "key": "FAILURERECOVERER_ENABLED",
      "service": "Insight",
      "description": "Set to true to enable the failure recoverer. (Default: true)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "COMMITTER_BLOCKSPERCOMMIT",
      "service": "Insight",
      "description": "Set the number of blocks per commit for the committer. (Default: 1000)",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "FAILURERECOVERER_INTERVAL",
      "service": "Insight",
      "description": "Set the interval for the failure recoverer in milliseconds. (Default: 3000)",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "RPC_BLOCKRECEIPTS_ENABLED",
      "service": "Insight",
      "description": "Set to true to enable block receipts indexing, please make sure your RPC supports this. (Default: true)",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RPC_LOGS_BLOCKSPERREQUEST",
      "service": "Insight",
      "description": "Set the number of blocks per request for logs indexing. (Default: 100)",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "REORGHANDLER_BLOCKSPERSCAN",
      "service": "Insight",
      "description": "Set the number of blocks per scan for the reorg handler. (Default: 1000)",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "REORGHANDLER_FORCEFROMBLOCK",
      "service": "Insight",
      "description": "Set to true to force the reorg handler to start from a specific block. (Default: true)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RPC_BLOCKS_BLOCKSPERREQUEST",
      "service": "Insight",
      "description": "Set the number of blocks per request for blocks indexing. (Default: 1000)",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "RPC_TRACES_BLOCKSPERREQUEST",
      "service": "Insight",
      "description": "Set the number of blocks per request for traces indexing. (Default: 100)",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "RPC_BLOCKRECEIPTS_BATCHDELAY",
      "service": "Insight",
      "description": "Set the batch delay for block receipts indexing. (Default: 100)",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "STORAGE_MAIN_CLICKHOUSE_HOST",
      "service": "Insight",
      "description": "Set the host for the main Clickhouse storage.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "STORAGE_MAIN_CLICKHOUSE_PORT",
      "service": "Insight",
      "description": "Set the port for the main Clickhouse storage. (Default: 9000)",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "FAILURERECOVERER_BLOCKSPERRUN",
      "service": "Insight",
      "description": "Set the number of blocks per run for the failure recoverer. (Default: 100)",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "STORAGE_STAGING_CLICKHOUSE_HOST",
      "service": "Insight",
      "description": "Set the host for the staging Clickhouse storage.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "STORAGE_STAGING_CLICKHOUSE_PORT",
      "service": "Insight",
      "description": "Set the port for the staging Clickhouse storage. (Default: 9000)",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "STORAGE_MAIN_CLICKHOUSE_DATABASE",
      "service": "Insight",
      "description": "Set the database name for the main Clickhouse storage.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_MAIN_CLICKHOUSE_PASSWORD",
      "service": "Insight",
      "description": "Set the password for the main Clickhouse storage.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_MAIN_CLICKHOUSE_USERNAME",
      "service": "Insight",
      "description": "Set the username for the main Clickhouse storage.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RPC_BLOCKRECEIPTS_BLOCKSPERREQUEST",
      "service": "Insight",
      "description": "Set the number of blocks per request for block receipts indexing. (Default: 100)",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "STORAGE_MAIN_CLICKHOUSE_DISABLETLS",
      "service": "Insight",
      "description": "Set to true to disable TLS for the main Clickhouse storage. (Default: true)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "STORAGE_STAGING_CLICKHOUSE_DATABASE",
      "service": "Insight",
      "description": "Set the database name for the staging Clickhouse storage.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_STAGING_CLICKHOUSE_PASSWORD",
      "service": "Insight",
      "description": "Set the password for the staging Clickhouse storage.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_STAGING_CLICKHOUSE_USERNAME",
      "service": "Insight",
      "description": "Set the username for the staging Clickhouse storage.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_ORCHESTRATOR_CLICKHOUSE_HOST",
      "service": "Insight",
      "description": "Set the host for the orchestrator Clickhouse storage.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "STORAGE_ORCHESTRATOR_CLICKHOUSE_PORT",
      "service": "Insight",
      "description": "Set the port for the orchestrator Clickhouse storage. (Default: 9000)",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "STORAGE_ORCHESTRATOR_MEMORY_MAXITEMS",
      "service": "Insight",
      "description": "Set the maximum number of items in memory for the orchestrator. (Default: 10000)",
      "secret": false,
      "strategy": "default",
      "default": "10000"
    },
    {
      "key": "STORAGE_STAGING_CLICKHOUSE_DISABLETLS",
      "service": "Insight",
      "description": "Set to true to disable TLS for the staging Clickhouse storage. (Default: true)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "STORAGE_ORCHESTRATOR_CLICKHOUSE_DATABASE",
      "service": "Insight",
      "description": "Set the database name for the orchestrator Clickhouse storage.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_ORCHESTRATOR_CLICKHOUSE_PASSWORD",
      "service": "Insight",
      "description": "Set the password for the orchestrator Clickhouse storage.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_ORCHESTRATOR_CLICKHOUSE_USERNAME",
      "service": "Insight",
      "description": "Set the username for the orchestrator Clickhouse storage.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_ORCHESTRATOR_CLICKHOUSE_DISABLETLS",
      "service": "Insight",
      "description": "Set to true to disable TLS for the orchestrator Clickhouse storage. (Default: true)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "CLICKHOUSE_DB",
      "service": "Clickhouse",
      "description": "Set the database name for the Clickhouse server. (Default: default)",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "CLICKHOUSE_USER",
      "service": "Clickhouse",
      "description": "Set the username for the Clickhouse server.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CLICKHOUSE_PASSWORD",
      "service": "Clickhouse",
      "description": "Set the password for the Clickhouse server.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CLICKHOUSE_INIT_TIMEOUT",
      "service": "Clickhouse",
      "description": "Set the timeout for Clickhouse initialization in seconds. (Default: 300)",
      "secret": false,
      "strategy": "default",
      "default": "60"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "Dyj5IJ"
      }
    },
    "cli": "railway deploy --template Dyj5IJ",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9bd7c002-cbe0-486f-96e5-ac500694ee19",
            "serializedConfig": {
              "services": {
                "9a97b25b-b6e7-465e-a903-377d8b62299f": {
                  "icon": "https://raw.githubusercontent.com/warengonzaga/thirdweb-insight-railway/refs/heads/main/assets/icon.png",
                  "name": "Insight",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "image": "thirdweb/insight:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Set the port for the API server to listen on. (Default: 3000)",
                      "defaultValue": "3000"
                    },
                    "RPC_URL": {
                      "description": "Set your RPC URL with your client ID here. e.g. `https://1.rpc.thirdweb.com/<client-id>` (Get your client ID from https://thirdweb.com/dashboard/settings/api-keys)",
                      "defaultValue": "{{RPC_URL}}"
                    },
                    "LOG_LEVEL": {
                      "description": "Set the log level for the application. (Default: debug)",
                      "defaultValue": "debug"
                    },
                    "LOG_PRETTY": {
                      "description": "Set to true to enable pretty logging. (Default: true)",
                      "defaultValue": "true"
                    },
                    "POLLER_ENABLED": {
                      "description": "Set to true to enable the poller. (Default: true)",
                      "defaultValue": "true"
                    },
                    "POLLER_INTERVAL": {
                      "description": "Set the interval for the poller in milliseconds. (Default: 3000)",
                      "defaultValue": "3000"
                    },
                    "POLLER_FROMBLOCK": {
                      "description": "Set the block number from which the poller should start. (Default: 20000000)",
                      "defaultValue": "20000000"
                    },
                    "COMMITTER_ENABLED": {
                      "description": "Set to true to enable the committer. (Default: true)",
                      "defaultValue": "true"
                    },
                    "POLLER_UNTILBLOCK": {
                      "description": "Set the block number until which the poller should run. (Default: 20000010)",
                      "defaultValue": "20000010"
                    },
                    "COMMITTER_INTERVAL": {
                      "description": "Set the interval for the committer in milliseconds. (Default: 3000)",
                      "defaultValue": "3000"
                    },
                    "RPC_TRACES_ENABLED": {
                      "description": "Set to true to enable traces indexing. (Default: true)",
                      "defaultValue": "true"
                    },
                    "COMMITTER_FROMBLOCK": {
                      "description": "Set the block number from which the committer should start. (Default: 20000000)",
                      "defaultValue": "20000000"
                    },
                    "RPC_LOGS_BATCHDELAY": {
                      "description": "Set the batch delay for logs indexing. (Default: 100)",
                      "defaultValue": "100"
                    },
                    "POLLER_BLOCKSPERPOLL": {
                      "description": "Set the number of blocks per poll for the poller. (Default: 3)",
                      "defaultValue": "3"
                    },
                    "REORGHANDLER_ENABLED": {
                      "description": "Set to true to enable the reorg handler. (Default: true)",
                      "defaultValue": "true"
                    },
                    "POLLER_FORCEFROMBLOCK": {
                      "description": "Set to true to force the poller to start from a specific block. (Default: false)",
                      "defaultValue": "false"
                    },
                    "REORGHANDLER_INTERVAL": {
                      "description": "Set the interval for the reorg handler in milliseconds. (Default: 3000)",
                      "defaultValue": "3000"
                    },
                    "RPC_BLOCKS_BATCHDELAY": {
                      "description": "Set the batch delay for blocks indexing. (Default: 100)",
                      "defaultValue": "100"
                    },
                    "RPC_TRACES_BATCHDELAY": {
                      "description": "Set the batch delay for traces indexing. (Default: 100)",
                      "defaultValue": "100"
                    },
                    "API_BASICAUTH_PASSWORD": {
                      "description": "Set your API Basic Auth password here.",
                      "defaultValue": "{{API_BASICAUTH_PASSWORD}}"
                    },
                    "API_BASICAUTH_USERNAME": {
                      "description": "Set your API Basic Auth username here.",
                      "defaultValue": "{{API_BASICAUTH_USERNAME}}"
                    },
                    "REORGHANDLER_FROMBLOCK": {
                      "description": "Set the block number from which the reorg handler should start. (Default: 20000000)",
                      "defaultValue": "20000000"
                    },
                    "FAILURERECOVERER_ENABLED": {
                      "description": "Set to true to enable the failure recoverer. (Default: true)",
                      "defaultValue": "true"
                    },
                    "COMMITTER_BLOCKSPERCOMMIT": {
                      "description": "Set the number of blocks per commit for the committer. (Default: 1000)",
                      "defaultValue": "1000"
                    },
                    "FAILURERECOVERER_INTERVAL": {
                      "description": "Set the interval for the failure recoverer in milliseconds. (Default: 3000)",
                      "defaultValue": "3000"
                    },
                    "RPC_BLOCKRECEIPTS_ENABLED": {
                      "description": "Set to true to enable block receipts indexing, please make sure your RPC supports this. (Default: true)",
                      "defaultValue": "false"
                    },
                    "RPC_LOGS_BLOCKSPERREQUEST": {
                      "description": "Set the number of blocks per request for logs indexing. (Default: 100)",
                      "defaultValue": "100"
                    },
                    "REORGHANDLER_BLOCKSPERSCAN": {
                      "description": "Set the number of blocks per scan for the reorg handler. (Default: 1000)",
                      "defaultValue": "1000"
                    },
                    "REORGHANDLER_FORCEFROMBLOCK": {
                      "description": "Set to true to force the reorg handler to start from a specific block. (Default: true)",
                      "defaultValue": "true"
                    },
                    "RPC_BLOCKS_BLOCKSPERREQUEST": {
                      "description": "Set the number of blocks per request for blocks indexing. (Default: 1000)",
                      "defaultValue": "1000"
                    },
                    "RPC_TRACES_BLOCKSPERREQUEST": {
                      "description": "Set the number of blocks per request for traces indexing. (Default: 100)",
                      "defaultValue": "100"
                    },
                    "RPC_BLOCKRECEIPTS_BATCHDELAY": {
                      "description": "Set the batch delay for block receipts indexing. (Default: 100)",
                      "defaultValue": "100"
                    },
                    "STORAGE_MAIN_CLICKHOUSE_HOST": {
                      "description": "Set the host for the main Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "STORAGE_MAIN_CLICKHOUSE_PORT": {
                      "description": "Set the port for the main Clickhouse storage. (Default: 9000)",
                      "defaultValue": "9000"
                    },
                    "FAILURERECOVERER_BLOCKSPERRUN": {
                      "description": "Set the number of blocks per run for the failure recoverer. (Default: 100)",
                      "defaultValue": "100"
                    },
                    "STORAGE_STAGING_CLICKHOUSE_HOST": {
                      "description": "Set the host for the staging Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "STORAGE_STAGING_CLICKHOUSE_PORT": {
                      "description": "Set the port for the staging Clickhouse storage. (Default: 9000)",
                      "defaultValue": "9000"
                    },
                    "STORAGE_MAIN_CLICKHOUSE_DATABASE": {
                      "description": "Set the database name for the main Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.CLICKHOUSE_DB}}"
                    },
                    "STORAGE_MAIN_CLICKHOUSE_PASSWORD": {
                      "description": "Set the password for the main Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.CLICKHOUSE_PASSWORD}}"
                    },
                    "STORAGE_MAIN_CLICKHOUSE_USERNAME": {
                      "description": "Set the username for the main Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.CLICKHOUSE_USER}}"
                    },
                    "RPC_BLOCKRECEIPTS_BLOCKSPERREQUEST": {
                      "description": "Set the number of blocks per request for block receipts indexing. (Default: 100)",
                      "defaultValue": "100"
                    },
                    "STORAGE_MAIN_CLICKHOUSE_DISABLETLS": {
                      "description": "Set to true to disable TLS for the main Clickhouse storage. (Default: true)",
                      "defaultValue": "true"
                    },
                    "STORAGE_STAGING_CLICKHOUSE_DATABASE": {
                      "description": "Set the database name for the staging Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.CLICKHOUSE_DB}}"
                    },
                    "STORAGE_STAGING_CLICKHOUSE_PASSWORD": {
                      "description": "Set the password for the staging Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.CLICKHOUSE_PASSWORD}}"
                    },
                    "STORAGE_STAGING_CLICKHOUSE_USERNAME": {
                      "description": "Set the username for the staging Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.CLICKHOUSE_USER}}"
                    },
                    "STORAGE_ORCHESTRATOR_CLICKHOUSE_HOST": {
                      "description": "Set the host for the orchestrator Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "STORAGE_ORCHESTRATOR_CLICKHOUSE_PORT": {
                      "description": "Set the port for the orchestrator Clickhouse storage. (Default: 9000)",
                      "defaultValue": "9000"
                    },
                    "STORAGE_ORCHESTRATOR_MEMORY_MAXITEMS": {
                      "description": "Set the maximum number of items in memory for the orchestrator. (Default: 10000)",
                      "defaultValue": "10000"
                    },
                    "STORAGE_STAGING_CLICKHOUSE_DISABLETLS": {
                      "description": "Set to true to disable TLS for the staging Clickhouse storage. (Default: true)",
                      "defaultValue": "true"
                    },
                    "STORAGE_ORCHESTRATOR_CLICKHOUSE_DATABASE": {
                      "description": "Set the database name for the orchestrator Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.CLICKHOUSE_DB}}"
                    },
                    "STORAGE_ORCHESTRATOR_CLICKHOUSE_PASSWORD": {
                      "description": "Set the password for the orchestrator Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.CLICKHOUSE_PASSWORD}}"
                    },
                    "STORAGE_ORCHESTRATOR_CLICKHOUSE_USERNAME": {
                      "description": "Set the username for the orchestrator Clickhouse storage.",
                      "defaultValue": "${{Clickhouse.CLICKHOUSE_USER}}"
                    },
                    "STORAGE_ORCHESTRATOR_CLICKHOUSE_DISABLETLS": {
                      "description": "Set to true to disable TLS for the orchestrator Clickhouse storage. (Default: true)",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "b0faf335-6816-4326-8d69-65e8331c5759": {
                  "icon": "https://devicons.railway.app/Clickhouse",
                  "name": "Clickhouse",
                  "source": {
                    "repo": "warengonzaga/thirdweb-insight-railway",
                    "branch": null,
                    "rootDirectory": "/services/clickhouse"
                  },
                  "variables": {
                    "CLICKHOUSE_DB": {
                      "isOptional": false,
                      "description": "Set the database name for the Clickhouse server. (Default: default)",
                      "defaultValue": "default"
                    },
                    "CLICKHOUSE_USER": {
                      "description": "Set the username for the Clickhouse server.",
                      "defaultValue": "{{CLICKHOUSE_USER}}"
                    },
                    "CLICKHOUSE_PASSWORD": {
                      "description": "Set the password for the Clickhouse server.",
                      "defaultValue": "{{CLICKHOUSE_PASSWORD}}"
                    },
                    "CLICKHOUSE_INIT_TIMEOUT": {
                      "description": "Set the timeout for Clickhouse initialization in seconds. (Default: 300)",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "b0faf335-6816-4326-8d69-65e8331c5759": {
                      "mountPath": "/var/lib/clickhouse"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Insight",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0"
}
