Repository navigation
chore: pin compose project and pass server token from .env - #59
Merged
Merged
Conversation
- Name the compose project diffx so the data volume no longer depends on the checkout directory - Forward DIFFX_SERVER_TOKEN so a git-ignored .env can set the bootstrap credential; empty keeps the generated token - Ignore .env
flexdinesh
marked this pull request as ready for review
October 12, 2026 12:33
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.
compose.yamlpins the project name todiffx, so the data volume is shared by every checkout and-p diffxis no longer needed.DIFFX_SERVER_TOKEN, so a.envbesidecompose.yamlcan set the bootstrap credential. Empty or unset keeps the generated token..gitignoreignores.env, so a real token is never committed. The Docker build context already excluded it.diffx_diffx-data. Stacks started from a checkout without-p diffxused<dir>_diffx-data; move or recreate that data if needed.docker compose configresolves the token from.env..envtoken, health returned 200 with that token and 401 with a wrong one.check:pushpassed.