Skip to content

fix(release): give the release-kit Compose stack its own project name#273

Merged
bihius merged 1 commit into
mainfrom
fix/release-compose-project-name
Jul 21, 2026
Merged

fix(release): give the release-kit Compose stack its own project name#273
bihius merged 1 commit into
mainfrom
fix/release-compose-project-name

Conversation

@bihius

@bihius bihius commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • release/docker-compose.yml reused the guard-proxy project name, colliding with docker/docker-compose.yml's containers/volumes on a machine that also has a source checkout.

Test plan

  • Discovered and reproduced during the v0.1.0-beta.1 release-kit smoke test: starting the release kit under the shared project name reused the dev stack's pgdata volume (auth failure against a differently-seeded password) and replaced its running containers.
  • Re-ran the smoke test under -p guard-proxy-release-smoketest (now the default via name:) — all 5 services became healthy, frontend/backend/HAProxy responded correctly, dev stack volumes were left untouched.

The release kit previously reused the "guard-proxy" project name,
which collides with docker/docker-compose.yml's volumes and
containers on a machine that also has a source checkout running.
Discovered while smoke-testing v0.1.0-beta.1: starting the release
kit silently reused the dev stack's postgres volume and clobbered
its running containers.
Copilot AI review requested due to automatic review settings July 21, 2026 13:51

Copilot AI left a comment

Copy link
Copy Markdown

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 prevents Docker Compose project-name collisions between the release-kit stack (release/docker-compose.yml) and the development stack (docker/docker-compose.yml) when both are run on the same machine, avoiding unintended container/volume reuse.

Changes:

  • Sets an explicit Compose project name for the release-kit stack (name: guard-proxy-release) so it no longer defaults to / reuses guard-proxy.

@bihius
bihius merged commit cdc8d15 into main Jul 21, 2026
4 checks passed
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