feat: add OpenReplay service template#9000
Closed
bhubadinn wants to merge 1 commit intocoollabsio:nextfrom
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes
Adds OpenReplay (open-source session replay and product analytics) as a one-click service template.
Stack: PostgreSQL 17, ClickHouse 25.11, Valkey 8, MinIO — plus 3 idempotent init containers (schema existence check before applying), an nginx reverse proxy routing 8 path prefixes, and 12 application microservices. YAML anchors keep shared env DRY. All secrets auto-generated via
SERVICE_PASSWORD_variables.Two fixes compared to previous attempts:
curlreplaced withmc ready local— theghcr.io/openreplay/minio:2025image shipsmcbut notcurl/wgetminio-initwait loop: same fix — replacedcurl -sf http://minio:9000/minio/health/livewithmc alias setwhich also doubles as the alias setupIssues
Category
Preview
AI Assistance
If AI was used:
Testing
Tested with Docker Compose locally.
Infrastructure (all healthy):
ghcr.io/openreplay/postgres:17): started, healthcheck passed, accepting connectionsclickhouse/clickhouse-server:25.11-alpine): started, healthcheck passedghcr.io/openreplay/valkey:8): started, healthcheck passedghcr.io/openreplay/minio:2025): started, healthcheck passed after fixing fromcurltomc ready localInit containers (all exited 0):
db-init: PostgreSQL schema applied —CREATE INDEX,COMMIT, "PostgreSQL schema initialized"ch-init: ClickHouse schema applied — "ClickHouse schema initialized"minio-init: All 9 buckets created (mobs,sessions-assets,static,sourcemaps,sessions-mobile-assets,quickwit,vault-data,records,spots),sessions-assetsset to public downloadnginx: Started successfully, routing requests through the openreplay.conf config.
Idempotency confirmed: re-running db-init and ch-init after schema existed printed "Schema already exists, skipping" and exited 0.
Contributor Agreement
Important