{
  "manifest_version": "1.0.0",
  "template": {
    "id": "291dae21-ebd1-45f4-8ae8-06a3293b4ddb",
    "slug": "victoriatraces",
    "name": "VictoriaTraces",
    "description": "Database designed for storing and querying distributed tracing data",
    "url": "https://railway.com/deploy/victoriatraces",
    "upstream": {
      "image": "victoriametrics/victoria-traces"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "VictoriaTraces",
      "source": {
        "image": "victoriametrics/victoria-traces"
      },
      "needs_volume": true,
      "volume_mount_path": "/victoria-traces-data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "VictoriaTraces",
      "description": "The port for the VictoriaTraces instance",
      "secret": false,
      "strategy": "default",
      "default": "10428"
    },
    {
      "key": "VT_PASSWORD",
      "service": "VictoriaTraces",
      "description": "The password for the VictoriaTraces instance",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "VT_USERNAME",
      "service": "VictoriaTraces",
      "description": "The username for the VictoriaTraces instance",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "victoriatraces"
      }
    },
    "cli": "railway deploy --template victoriatraces",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "291dae21-ebd1-45f4-8ae8-06a3293b4ddb",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "c4e5c627-61e9-4d93-bc09-a9e58be2b0d9": {
                  "icon": null,
                  "name": "VictoriaTraces",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec /victoria-traces-prod -httpListenAddr 0.0.0.0:$PORT -storageDataPath /victoria-traces-data -retentionPeriod 30d -httpAuth.username $VT_USERNAME -httpAuth.password $VT_PASSWORD -enableTCP6=true\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "victoriametrics/victoria-traces"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port for the VictoriaTraces instance",
                      "defaultValue": "10428"
                    },
                    "VT_PASSWORD": {
                      "isOptional": false,
                      "description": "The password for the VictoriaTraces instance",
                      "defaultValue": "{{VT_PASSWORD}}"
                    },
                    "VT_USERNAME": {
                      "isOptional": false,
                      "description": "The username for the VictoriaTraces instance",
                      "defaultValue": "{{VT_USERNAME}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "c4e5c627-61e9-4d93-bc09-a9e58be2b0d9": {
                      "mountPath": "/victoria-traces-data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
