Repository navigation
Keep the PostgreSQL 18 data directory out of the Docker build context - #363
Merged
Merged
Conversation
The compose stack now stores its database in docker/postgresql-18-data, which .gitignore listed but .dockerignore didn't, so the directory became part of the build context for the Roller image. On Linux that fails the next build with a permission error, and elsewhere it sends the whole database to the Docker daemon. The compose comment about migrating old data now says to run the old image on the old directory, since the old container is gone once the stack is recreated.
snoopdave
approved these changes
Nov 20, 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.
A follow-up to #351, which moved the compose stack's database to
docker/postgresql-18-data..gitignorelisted the new directory but.dockerignoredidn't, so it became part of the build context for the Roller image:docker compose up --buildfails with a permission error while reading the context.The compose comment about migrating old data now says to run the old image on the old directory and
pg_dumpfrom that, since the old container is gone once the stack is recreated.Not run: I didn't build the image; the change is one ignore line and a comment.