clickhouse-multi-env-setup

Featured

Configure ClickHouse across dev, staging, and production with environment-specific settings, secrets management, and infrastructure-as-code patterns. Use when setting up per-environment ClickHouse instances, managing connection configs, or deploying to multiple environments. Trigger: "clickhouse environments", "clickhouse dev staging prod", "clickhouse multi-env", "clickhouse environment config", "clickhouse staging setup".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ClickHouse Multi-Environment Setup ## Overview Configure separate ClickHouse instances for development, staging, and production with proper secrets management, environment detection, and infrastructure-as-code. ## Prerequisites - ClickHouse Cloud account or self-hosted instances per environment - Secret management solution (Vault, AWS Secrets Manager, GCP Secret Manager) - CI/CD pipeline with environment variables ## Instructions ### Step 1: Environment Strategy | Environment | Instance | Purpose | Data | |-------------|----------|---------|------| | Development | Docker local | Fast iteration | Synthetic seed data | | Staging | ClickHouse Cloud (Dev tier) | Pre-prod validation | Sampled prod copy | | Production | ClickHouse Cloud (Prod tier) | Live traffic | Real data | ### Step 2: Configuration Module ```typescript // src/config/clickhouse.ts interface ClickHouseEnvConfig { url: string; username: string; password: string; database: string; maxConnections: number; requestTimeout: number; compression: boolean; } const configs: Record<string, ClickHouseEnvConfig> = { development: { url: 'http://localhost:8123', username: 'default', password: process.env.CLICKHOUSE_PASSWORD ?? 'dev_password', database: 'app_dev', maxConnections: 5, requestTimeout: 60_000, // Longer for debugging compression: false, // Easier to debug raw }, staging: { url: process.env.CLICKHOUSE_HOST ?? 'https://staging.clickhouse.cloud:...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

clickup-multi-env-setup

Configure ClickUp API access across dev, staging, and production environments with per-environment tokens and workspace isolation. Trigger: "clickup environments", "clickup staging", "clickup dev prod", "clickup environment setup", "clickup config by env", "clickup multi-env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-multi-env-setup

Configure HubSpot across development, staging, and production environments. Use when setting up per-environment HubSpot portals, configuring separate access tokens, or implementing environment isolation for HubSpot integrations. Trigger with phrases like "hubspot environments", "hubspot staging", "hubspot dev prod", "hubspot test account", "hubspot config by env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

cohere-multi-env-setup

Configure Cohere across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment API keys, model selection, and rate limit strategies. Trigger with phrases like "cohere environments", "cohere staging", "cohere dev prod", "cohere environment setup", "cohere config by env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-multi-env-setup

Configure Klaviyo across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment API keys, or implementing environment-specific Klaviyo configurations. Trigger with phrases like "klaviyo environments", "klaviyo staging", "klaviyo dev prod", "klaviyo environment setup", "klaviyo config by env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

fireflies-multi-env-setup

Configure Fireflies.ai across dev, staging, and production with isolated API keys. Use when setting up multi-environment deployments, managing per-env secrets, or implementing environment-specific Fireflies configurations. Trigger with phrases like "fireflies environments", "fireflies staging", "fireflies dev prod", "fireflies environment setup", "fireflies config by env".

2,266 Updated today
jeremylongshore