Skip to content

refactor: tweek compose for console#564

Open
rsdmike wants to merge 1 commit intomainfrom
composeUpdates
Open

refactor: tweek compose for console#564
rsdmike wants to merge 1 commit intomainfrom
composeUpdates

Conversation

@rsdmike
Copy link
Copy Markdown
Member

@rsdmike rsdmike commented May 5, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 5, 2026 20:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yaml to route HTTP traffic to console endpoints and adds an L4 TCP stream route for CIRA on port 4433.
  • Updates docker-compose.yml to use the new dmtnetwork, adjusts Console runtime env/healthcheck, and shifts some exposure/routing responsibilities to Kong.
  • Removes legacy DB init SQL and an unrelated .gitattributes entry; updates .env.template with 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.

Comment thread kong.yaml
# - extra_limits
# - my_tag
key: console
secret: supersecret
Comment thread kong.yaml
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
Comment thread docker-compose.yml Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants