Draft
Fix Docker container name collisions for multi-project machines#2
Conversation
Agent-Logs-Url: https://github.com/lalokalabs/labzero-project/sessions/2c60594e-3071-4228-a377-3886ca6520b9 Co-authored-by: k4ml <116353+k4ml@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update project structure for better maintainability
Add BACKGROUND.md documenting labzero-project's architectural evolution
Mar 28, 2026
Agent-Logs-Url: https://github.com/lalokalabs/labzero-project/sessions/a28b1afb-02bc-4764-a697-9ede178bd63c Co-authored-by: k4ml <116353+k4ml@users.noreply.github.com>
Copilot
AI
changed the title
Add BACKGROUND.md documenting labzero-project's architectural evolution
Fix Docker container name collisions across multiple labzero-project instances
Mar 28, 2026
…idance Agent-Logs-Url: https://github.com/lalokalabs/labzero-project/sessions/677ff2b3-f6d5-4be9-81ba-e7050df37b2b Co-authored-by: k4ml <116353+k4ml@users.noreply.github.com>
Copilot
AI
changed the title
Fix Docker container name collisions across multiple labzero-project instances
Fix Docker container name collisions for multi-project machines
Mar 29, 2026
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.
When multiple projects are based on
labzero-projecton the same machine, hard-codedcontainer_namevalues cause Docker to reuse the same containers across projects — silently sharing database state.Changes
docker-compose.ymlcontainer_name:directivesname: ${COMPOSE_PROJECT_NAME:-myapp}so Docker Compose namespaces containers per project (e.g.shopify-db-1,shopify-redis-1).env.exampleCOMPOSE_PROJECT_NAME=myapp— Docker Compose reads this from.envautomaticallyREADME.mdrename.shreferences (project is moving to the Drupal model — no renaming)COMPOSE_PROJECT_NAMEin.envbeforemake upsrc/myapp/rather than renamingBACKGROUND.md.envworkflow instead of the now-deprecatedrename.shpathOriginal prompt
⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.