Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the local Docker Compose + Kong declarative configuration to align the stack around the unified Console service (replacing legacy MPS-era routing), including adding TCP passthrough support for Console CIRA traffic.
Changes:
- Refactors
kong.yamlto route HTTP traffic toconsoleendpoints and adds an L4 TCP stream route for CIRA on port4433. - Updates
docker-compose.ymlto use the newdmtnetwork, adjusts Console runtime env/healthcheck, and shifts some exposure/routing responsibilities to Kong. - Removes legacy DB init SQL and an unrelated
.gitattributesentry; updates.env.templatewith a new auth issuer variable.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
kong.yaml |
Replaces legacy MPS routes with Console routes, adds TCP stream routing for CIRA, updates JWT plugin bindings and credentials. |
docker-compose.yml |
Updates networking, Console settings/healthcheck, and Kong stream listen/port mapping for CIRA passthrough. |
data/init.sql |
Removes legacy Postgres initialization schema script. |
.gitattributes |
Removes mosquitto.conf LF normalization rule. |
.env.template |
Adds AUTH_ISSUER and guidance for generating an encryption key. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # - extra_limits | ||
| # - my_tag | ||
| key: console | ||
| secret: supersecret |
Comment on lines
+18
to
+29
| - name: console-login-route | ||
| strip_path: false | ||
| paths: | ||
| - /mps | ||
| - name: device-power-state-route | ||
| strip_path: true | ||
| - /api/v1/authorize | ||
| - name: console-api-route | ||
| strip_path: false | ||
| paths: | ||
| - ~/device/power/state/(?<id>[a-fA-F0-9\-]+) | ||
| - name: device-power-action-route | ||
| strip_path: true | ||
| - /api | ||
| - name: console-health-route | ||
| strip_path: false | ||
| paths: | ||
| - ~/device/power/action/(?<id>[a-fA-F0-9\-]+) | ||
|
|
||
| - /healthz |
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.