{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e7622a46-6510-4453-9c7e-3b33ec4e7a6e",
    "slug": "victorialogs",
    "name": "VictoriaLogs",
    "description": "High-performance, cost-effective, scalable, open-source logs database",
    "url": "https://railway.com/deploy/victorialogs",
    "upstream": {
      "image": "victoriametrics/victoria-logs:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "VictoriaLogs",
      "source": {
        "image": "victoriametrics/victoria-logs:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/victoria-logs-data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "VictoriaLogs",
      "description": "The port the VictoriaLogs instance will listen to",
      "secret": false,
      "strategy": "default",
      "default": "9482"
    },
    {
      "key": "VL_PASSWORD",
      "service": "VictoriaLogs",
      "description": "The password for the VictoriaLogs instance",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "VL_USERNAME",
      "service": "VictoriaLogs",
      "description": "The username for the VictoriaLogs instance",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "victorialogs"
      }
    },
    "cli": "railway deploy --template victorialogs",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e7622a46-6510-4453-9c7e-3b33ec4e7a6e",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "c7a99489-28b5-4ab2-b41a-6b395f5e4afc": {
                  "icon": null,
                  "name": "VictoriaLogs",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec /victoria-logs-prod -httpListenAddr 0.0.0.0:$PORT -storageDataPath /victoria-logs-data -retentionPeriod 30d -httpAuth.username $VL_USERNAME -httpAuth.password $VL_PASSWORD -enableTCP6=true\"",
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "victoriametrics/victoria-logs:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port the VictoriaLogs instance will listen to",
                      "defaultValue": "9482"
                    },
                    "VL_PASSWORD": {
                      "isOptional": false,
                      "description": "The password for the VictoriaLogs instance",
                      "defaultValue": "{{VL_PASSWORD}}"
                    },
                    "VL_USERNAME": {
                      "isOptional": false,
                      "description": "The username for the VictoriaLogs instance",
                      "defaultValue": "{{VL_USERNAME}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "c7a99489-28b5-4ab2-b41a-6b395f5e4afc": {
                      "mountPath": "/victoria-logs-data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "VictoriaLogs",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-14T22:14:43.073Z",
  "generator_version": "0.1.0"
}
