deploy-service
Skill44 starsChanged 5 months agoApache-2.0View on GitHub
Workflow for building and deploying Pulse services locally via Docker. Use when building Docker images, starting/stopping services, or managing the local development environment.
- Reads credentials
4 other projects use a version of this.
Adopted by
Most recently taken up by
- pilotmain/AethOStheir own version, first seen Nov 15, 2026
- NVIDIA/SkillSpectortheir own version, first seen Oct 13, 2026
- tejastn10/workbenchtheir own version, first seen Oct 13, 2026
- vefmvai/sysadmintheir own version, first seen Aug 19, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- NVIDIA/SkillSpector★ 26ksame name
- pilotmain/AethOS★ 1same name
- tejastn10/workbench★ 1same name
- vefmvai/sysadmin★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- product/CLAUDE.mdCLAUDE.md
- pulse-web-otel/CLAUDE.mdCLAUDE.md
- add-ai-sub-agentSkill
- add-alert-metricSkill
- add-api-endpointSkill
- add-ui-componentSkill
- add-ui-screenSkill
- clickhouse-migrationSkill
- fatal-fiveSkill
- integrate-pulse-web-sdkSkill
- pr-reviewSkill
- pulse-prd-authorSkill
- pulse-prd-reviewSkill
- web-otel-spec-audit-orchestratorSkill
- web-otel-spec-implementation-auditSkill
- web-sdk-e2e-matrixSkill
- web-sdk-instrumentSkill
- web-sdk-shipSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 84
Run docker ps --format "table {{.Names}}\t{{.Ports}}\t{{.Status}}" to discover actual ports, then use them in health checks:
- Very specific: line 101
Port conflict: check if another service uses the port (lsof -i :8080)
- Very specific: line 103
DB not ready: wait for health check or run ./scripts/reset-databases.sh
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deploy Service
Quick Start (All Services)
cd deploy
cp .env.example .env # first time only, then edit values
./scripts/quickstart.shProduct analytics batch (pulse-server)
Funnel/journey daily batch uses ANALYTICS_COMPUTE_ENGINE (spark | clickhouse) and ANALYTICS_BATCH_PROJECT_CONCURRENCY (positive integer; required when engine is clickhouse in production). Declared in deploy/.env.example; loaded via backend/server/src/main/resources/conf/analytics-engine-default.conf. Docker Compose sets defaults in deploy/docker-compose.yml; deploy/scripts/common.sh load_env applies defaults for script-driven runs (e.g. start.sh).
pulse-server ClickHouse URL in Compose: CLICKHOUSE_R2DBC_URL targets the internal service http://clickhouse:8123 with database from OTEL_CLICKHOUSE_DATABASE. Credentials use OTEL_CLICKHOUSE_USER / OTEL_CLICKHOUSE_PASSWORD. Overriding to a remote replica requires editing compose (or an override file) so URL/host match the target; .env keys like CLICKHOUSE_HOST alone are not wired unless compose substitutes them.
Build Specific Service
cd deploy
./scripts/build.sh ui # pulse-ui only
./scripts/build.sh server # pulse-server only
./scripts/build.sh cron # pulse-alerts-cron only
./scripts/build.sh capture # pulse-session-capture only
./scripts/build.sh ingestion # pulse-session-replay-ingestion only
./scripts/build.sh heatmap-ingestion # pulse-heatmap-screenshot-ingestion only
./scripts/build.sh s3-archiver # pulse-s3-archiver only
./scripts/build.sh ai # pulse-ai-agent only
./scripts/build.sh all # same as omitting args: ui + server + cron + capture + ingestion + heatmap-ingestion + s3-archiver + aiPulse S3 Archiver (pulse-s3-archiver)
Kafka → Avro Parquet → one S3 bucket per project: pulse-otel-{sanitized project.id} from OTLP resource project.id (missing → pulse-otel-unknown). Compose does not set S3_BUCKET for archiver — create buckets / IAM (PutObject) as needed. Env: KAFKA_BOOTSTRAP_SERVERS, S3_REGION, optional S3_ENDPOINT, AWS_*, ARCHIVER_*, optional PULSE_BACKEND_OTEL_ENABLED.
Start/Stop
./scripts/start.sh -d # start all detached (includes pulse-ai-agent)
./scripts/start.sh -d --build # build + start detached
./scripts/stop.sh # stop all
./scripts/stop.sh ai # stop pulse-ai-agent only (CLI path)
./scripts/stop.sh -v # stop + remove volumesView Logs
./scripts/logs.sh # all services
./scripts/logs.sh server # pulse-server
./scripts/logs.sh ai # pulse-ai-agentHeatmap screenshot ingestion
Service: pulse-heatmap-screenshot-ingestion (Kafka → S3). Objects go to HEATMAP_S3_BUCKET (default heatmap-assets), prefix heatmap-screenshots/. pulse-server lists via HEATMAP_S3_ENDPOINT (e.g. http://minio:9000); for presigned URLs the browser needs a resolvable host — set HEATMAP_S3_PRESIGN_ENDPOINT=http://localhost:9100 locally (MinIO is on host 9100; 9000 on the host is ClickHouse). Omit HEATMAP_S3_PRESIGN_ENDPOINT in AWS if the default S3 hostname is fine. Redis is not started by deploy compose: set REDIS_URL or REDIS_HOST + REDIS_PORT for quota/dedupe on heatmap ingestion, and the same REDIS_HOST / REDIS_PORT are passed to pulse-server for Kong-related Redis writes (cron only calls pulse-server internal endpoints). See deploy/.env.example.
Pulse AI
Integrated (deploy stack): pulse-ai-agent starts with ./scripts/start.sh -d. Set GOOGLE_API_KEY in
deploy/.env for Gemini. Health: curl -sf http://localhost:8000/health.
Standalone (AI-only dev):
cd pulse_ai && cp .env.example .env # first time — set GOOGLE_API_KEY
cd pulse_ai && ./setup.sh # build + start (Docker, port 8000)
curl -sf http://localhost:8000/healthReset Databases
./scripts/reset-databases.sh # drops volumes, reinitializesHealth Checks
Run docker ps --format "table {{.Names}}\t{{.Ports}}\t{{.Status}}" to discover actual ports, then use them in health
checks:
| Service | Health Check | Default Port |
| pulse-server | curl http://localhost:<port>/healthcheck | 8080 |
| pulse-ui | curl http://localhost:<port>/healthcheck.txt | 3000 |
| pulse-alerts-cron | curl http://localhost:<port>/healthcheck | 4000 |
| OpenFGA | curl http://localhost:8180/healthz | 8180 |
| OTEL Collector | curl http://localhost:<port>/ | 13133 |
| pulse-s3-archiver | in-container curl -f http://localhost:5000/healthcheck (compose; HTTP may be unimplemented) | — |
| pulse-ai-agent | curl -sf http://localhost:8000/health | 8000 |
| pulse-session-capture | curl http://localhost:3400/healthcheck | 3400 |
| MinIO (dev) | S3 API on host 9100, console 9101 | 9100 / 9101 |
Troubleshooting
- Port conflict: check if another service uses the port (
lsof -i :8080) - Build failure: try
./scripts/build.sh --no-cache <service> - DB not ready: wait for health check or run
./scripts/reset-databases.sh - Missing env vars: compare
deploy/.envwithdeploy/.env.example
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

