Self-host: precise local setup docs + CLICKHOUSE_SECURE support (local ClickHouse) [Devin] #1242
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📥 Pull Request
📘 Description
Enables comprehensive local self-hosting of AgentOps by adding configurable ClickHouse connection support and precise setup documentation. This allows developers to run the full stack (dashboard, API, ClickHouse, Supabase) locally for development and testing.
Key Changes:
falsefor local HTTP, can be set totruefor cloud HTTPS)app/README.mdplus detailed troubleshooting docs🧪 Testing
Performed complete end-to-end testing of local setup:
CLICKHOUSE_SECURE backward compatibility: Changed from hardcoded
secure: bool = Truetosecure: bool = CLICKHOUSE_SECURE(defaults tofalse). Could break existing cloud deployments if they don't explicitly setCLICKHOUSE_SECURE=true.JWT_SECRET change: Modified OTLP collector compose from
${JWT_SECRET:-}to${JWT_SECRET_KEY:-super-secret-jwt-token-with-at-least-32-characters-long}. May impact existing deployments using JWT_SECRET.New environment dependencies: Added S3 bucket env vars to compose.yaml. Could cause startup issues if these aren't defined in existing deployments.
Documentation accuracy: Setup instructions must work for new users on fresh machines.
🔍 Human Review Checklist
Link to Devin run: https://app.devin.ai/sessions/10deeaa5961b4b2ab68ee073277cd71e
Requested by: @areibman