{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d07f42e5-45b7-458b-a150-bac8ffdb34fc",
    "slug": "openobserve-object-storage",
    "name": "OpenObserve | Open Source Datadog Alternative",
    "description": "Self-hosted logs, metrics & traces with data in object storage",
    "url": "https://railway.com/deploy/openobserve-object-storage",
    "upstream": {
      "image": "openobserve/openobserve:v0.92.2"
    }
  },
  "services": [
    {
      "name": "OpenObserve",
      "source": {
        "image": "openobserve/openobserve:v0.92.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "OpenObserve",
      "description": "HTTP port OpenObserve listens on; Railway routes traffic and health checks here.",
      "secret": false,
      "strategy": "default",
      "default": "5080"
    },
    {
      "key": "ZO_WEB_URL",
      "service": "OpenObserve",
      "description": "Public base URL used for share links and alert callbacks.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ZO_DATA_DIR",
      "service": "OpenObserve",
      "description": "Local directory on the attached volume: SQLite metadata + write-ahead log only. Bulk data goes to object storage.",
      "secret": false,
      "strategy": "default",
      "default": "/data/"
    },
    {
      "key": "ZO_HTTP_PORT",
      "service": "OpenObserve",
      "description": "OpenObserve's own HTTP listener port; keep it equal to PORT.",
      "secret": false,
      "strategy": "default",
      "default": "5080"
    },
    {
      "key": "ZO_TELEMETRY",
      "service": "OpenObserve",
      "description": "Disable anonymous usage telemetry to OpenObserve.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ZO_LOCAL_MODE",
      "service": "OpenObserve",
      "description": "Single-node mode: no external etcd/NATS/Postgres required.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ZO_S3_PROVIDER",
      "service": "OpenObserve",
      "description": "Object-storage provider flavour; 's3' matches Railway's S3-compatible bucket.",
      "secret": false,
      "strategy": "default",
      "default": "s3"
    },
    {
      "key": "ZO_S3_ACCESS_KEY",
      "service": "OpenObserve",
      "description": "Object-storage access key (wired automatically from the bucket).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ZO_S3_SECRET_KEY",
      "service": "OpenObserve",
      "description": "Object-storage secret key (wired automatically from the bucket).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ZO_S3_SERVER_URL",
      "service": "OpenObserve",
      "description": "Object-storage S3 endpoint (wired automatically from the bucket).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ZO_S3_BUCKET_NAME",
      "service": "OpenObserve",
      "description": "Object-storage bucket name (wired automatically from the bucket).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ZO_S3_REGION_NAME",
      "service": "OpenObserve",
      "description": "Object-storage bucket region (wired automatically from the bucket).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ZO_ROOT_USER_EMAIL",
      "service": "OpenObserve",
      "description": "Login email for the initial admin user, created on first boot. Change it before the first deploy if you like.",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "ZO_LOCAL_MODE_STORAGE",
      "service": "OpenObserve",
      "description": "Store ingested data (parquet + full-text index) in the object-storage bucket instead of the local disk. This is what keeps storage cheap and unbounded.",
      "secret": false,
      "strategy": "default",
      "default": "s3"
    },
    {
      "key": "ZO_ROOT_USER_PASSWORD",
      "service": "OpenObserve",
      "description": "Password for the initial admin user. OpenObserve requires upper, lower, digit and a special character; this generator guarantees all four.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openobserve-object-storage"
      }
    },
    "cli": "railway deploy --template openobserve-object-storage",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d07f42e5-45b7-458b-a150-bac8ffdb34fc",
            "serializedConfig": {
              "buckets": {
                "f8c7e1f2-9a85-4e79-818b-607d7c8ba03f": {
                  "name": "Storage"
                }
              },
              "services": {
                "db9d27ef-7207-4d73-8cdc-6c4a8bbc30ae": {
                  "icon": "https://cdn.jsdelivr.net/gh/openobserve/openobserve@v0.92.2/web/src/assets/images/common/openobserve_favicon.png",
                  "name": "OpenObserve",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 2
                  },
                  "source": {
                    "image": "openobserve/openobserve:v0.92.2"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port OpenObserve listens on; Railway routes traffic and health checks here.",
                      "defaultValue": "5080"
                    },
                    "ZO_WEB_URL": {
                      "isOptional": false,
                      "description": "Public base URL used for share links and alert callbacks.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ZO_DATA_DIR": {
                      "isOptional": false,
                      "description": "Local directory on the attached volume: SQLite metadata + write-ahead log only. Bulk data goes to object storage.",
                      "defaultValue": "/data/"
                    },
                    "ZO_HTTP_PORT": {
                      "isOptional": false,
                      "description": "OpenObserve's own HTTP listener port; keep it equal to PORT.",
                      "defaultValue": "5080"
                    },
                    "ZO_TELEMETRY": {
                      "isOptional": false,
                      "description": "Disable anonymous usage telemetry to OpenObserve.",
                      "defaultValue": "false"
                    },
                    "ZO_LOCAL_MODE": {
                      "isOptional": false,
                      "description": "Single-node mode: no external etcd/NATS/Postgres required.",
                      "defaultValue": "true"
                    },
                    "ZO_S3_PROVIDER": {
                      "isOptional": false,
                      "description": "Object-storage provider flavour; 's3' matches Railway's S3-compatible bucket.",
                      "defaultValue": "s3"
                    },
                    "ZO_S3_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Object-storage access key (wired automatically from the bucket).",
                      "defaultValue": "${{Storage.ACCESS_KEY_ID}}"
                    },
                    "ZO_S3_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Object-storage secret key (wired automatically from the bucket).",
                      "defaultValue": "${{Storage.SECRET_ACCESS_KEY}}"
                    },
                    "ZO_S3_SERVER_URL": {
                      "isOptional": false,
                      "description": "Object-storage S3 endpoint (wired automatically from the bucket).",
                      "defaultValue": "${{Storage.ENDPOINT}}"
                    },
                    "ZO_S3_BUCKET_NAME": {
                      "isOptional": false,
                      "description": "Object-storage bucket name (wired automatically from the bucket).",
                      "defaultValue": "${{Storage.BUCKET}}"
                    },
                    "ZO_S3_REGION_NAME": {
                      "isOptional": false,
                      "description": "Object-storage bucket region (wired automatically from the bucket).",
                      "defaultValue": "${{Storage.REGION}}"
                    },
                    "ZO_ROOT_USER_EMAIL": {
                      "isOptional": false,
                      "description": "Login email for the initial admin user, created on first boot. Change it before the first deploy if you like.",
                      "defaultValue": "admin@example.com"
                    },
                    "ZO_LOCAL_MODE_STORAGE": {
                      "isOptional": false,
                      "description": "Store ingested data (parquet + full-text index) in the object-storage bucket instead of the local disk. This is what keeps storage cheap and unbounded.",
                      "defaultValue": "s3"
                    },
                    "ZO_ROOT_USER_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the initial admin user. OpenObserve requires upper, lower, digit and a special character; this generator guarantees all four.",
                      "defaultValue": "{{ZO_ROOT_USER_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5080": {
                        "port": 5080
                      }
                    }
                  },
                  "volumeMounts": {
                    "db9d27ef-7207-4d73-8cdc-6c4a8bbc30ae": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-19T18:47:07.623Z",
  "success_rate_30d": 0.1667,
  "validation": {
    "last_run_id": "run_a8e388f3ef9f4510a1d7",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ],
    "typical_ready_seconds": 27,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "OpenObserve"
  }
}
