feat: Docker compose skeleton#29
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a deployment/ Docker Compose setup intended to spin up RevChat’s supporting services (Temporal + Postgres, OTEL-LGTM, Thrippy, Timpani) for local/dev environments, alongside a few dependency/tooling bumps in the Go module.
Changes:
- Introduce Docker Compose stack plus service configs (Temporal dynamic config, OTEL collector, Thrippy/Timpani/RevChat TOMLs).
- Add helper scripts for Temporal DB/bootstrap/validation and Thrippy TLS certificate generation.
- Bump Go module dependencies and update CI lint tool version.
Reviewed changes
Copilot reviewed 15 out of 18 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Bumps Go version and updates several direct/indirect dependencies (otel, grpc, cli, thrippy/timpani SDKs). |
| go.sum | Updates checksums corresponding to the module version bumps. |
| .github/workflows/ci.yml | Updates golangci-lint version used in CI. |
| .gitignore | Ignores generated *.pem cert/key files. |
| deployment/docker-compose.yml | New compose stack wiring Temporal/Postgres/OTEL + Thrippy/Timpani services, networks, volumes, logging. |
| deployment/default.env | Adds env defaults for compose, ports, and volume bind locations. |
| deployment/otel-lgtm-config/otel-collector.yaml | OTEL Collector pipeline config for OTEL-LGTM container. |
| deployment/revchat-config/config.toml | Adds RevChat runtime config (OTLP/Thrippy connectivity). |
| deployment/timpani-config/config.toml | Adds Timpani runtime config including Thrippy addresses/cert paths. |
| deployment/thrippy-config/config.toml | Adds Thrippy TLS (client/server) file-based config. |
| deployment/thrippy-config/openssl.cnf | Adds OpenSSL extension config used by the cert generation script. |
| deployment/thrippy-config/create_certificates.sh | Script to generate a local test CA plus server/client certs and copy selected artifacts into other configs. |
| deployment/temporal/scripts/setup-postgres.sh | Script to initialize Temporal + visibility schemas in Postgres. |
| deployment/temporal/scripts/setup-server.sh | Script to wait for Temporal, ensure namespace, and create a custom search attribute. |
| deployment/temporal/scripts/validate-temporal.sh | Script to validate Temporal health/namespace and attempt a workflow start/cleanup. |
| deployment/temporal/dynamicconfig/development-sql.yaml | Adds a small dynamic config profile for Temporal when using SQL. |
| deployment/temporal/dynamicconfig/README.md | Documents source/format for Temporal dynamic config files. |
| deployment/temporal/dynamicconfig/docker.yaml | Included dynamic config override file for docker-based Temporal setup. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Daniel Abraham <aeroquix@gmail.com>
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.
No description provided.