Skip to content

feat(docker): add live reload workflow - #6

Merged
jondricek merged 2 commits into
mainfrom
feat/live-reload-dev-workflow
Oct 16, 2026
Merged

jondricek merged 2 commits into
mainfrom
feat/live-reload-dev-workflow

Conversation

@scotluns

@scotluns scotluns commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Make the generated development Compose override reload mounted source across frontend, REST API, and TAXII, and wire frontend runtime configuration into instance setup.

read-only source bind mounts
├── frontend: Angular polls edits; Compose restarts for assets/config
├── REST API: Compose restarts for app/bin/JSON configuration
└── TAXII: Compose restarts → TypeScript build → server + collector
package/build configuration edits → image rebuild

Selects service development targets, validates source mount paths, and adds frontend environment/JSON inputs with same-origin API routing. Updates service templates, setup path handling, and local-development guides. Compose and Kubernetes Nginx examples serve runtime configuration without caching. CI checks that generated development Compose matches the committed example.

Evidence

  • Before: The development example used source-sync watch rules without selecting the service development targets.
    After: Source is mounted directly; restart/rebuild rules and development targets are present in the generated override and committed example.
  • After: CI passed shell syntax validation and the generated-example comparison (bash -n, --print-dev-compose, and diff). This job does not exercise running containers, browser routing, or Kubernetes deployment.

Merge Danger

Door: two-way

Revert setup/templates and regenerate affected instance configuration. Merge after the frontend, REST API, and TAXII PRs below.

Blast Radius: stack

Affects instance generation, source mounts, service restarts, frontend configuration, and Nginx examples. Requires the corresponding service image changes and Compose support for Watch and !override. Environment changes require container recreation; JSON changes require the documented restart procedure.

Related PRs

@jondricek
jondricek force-pushed the feat/live-reload-dev-workflow branch from 2875496 to 504b295 Compare October 12, 2026 13:00
@jondricek
jondricek merged commit d3b7975 into main Oct 16, 2026
1 check passed
@jondricek
jondricek deleted the feat/live-reload-dev-workflow branch October 16, 2026 20:24
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