{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8b8a08e2-dba1-4ce1-9715-99c13b5a0793",
    "slug": "owncast",
    "name": "Owncast",
    "description": "Self-hosted live streaming — your own Twitch with chat and RTMP ingest.",
    "url": "https://railway.com/deploy/owncast",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/owncast-railway"
    }
  },
  "services": [
    {
      "name": "owncast",
      "source": {
        "repo": "https://github.com/nomideusz/owncast-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "owncast",
      "description": "Web server port. Don't change.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "STREAM_KEY",
      "service": "owncast",
      "description": "Stream key for OBS/RTMP ingest. Auto generated.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "owncast",
      "description": "Admin panel password (username: admin). Auto generated.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "owncast"
      }
    },
    "cli": "railway deploy --template owncast",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8b8a08e2-dba1-4ce1-9715-99c13b5a0793",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "a1185e99-9986-4e59-a903-cac133e683d6": {
                  "icon": "https://owncast.online/images/owncast-logo-1000x1000.png",
                  "name": "owncast",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/owncast-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Web server port. Don't change.",
                      "defaultValue": "8080"
                    },
                    "STREAM_KEY": {
                      "isOptional": false,
                      "description": "Stream key for OBS/RTMP ingest. Auto generated.",
                      "defaultValue": "{{STREAM_KEY}}"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin panel password (username: admin). Auto generated.",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "a1185e99-9986-4e59-a903-cac133e683d6": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "owncast",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T00:30:10.080Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_cc6af7898fbd4f9cbdf0",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 106,
    "typical_build_seconds": 30,
    "typical_start_seconds": 20,
    "slowest_service": "owncast"
  }
}
