Repository navigation
dev container refactoring and fixing bw-dev pytest - #3838
Merged
mouse-reeve merged 2 commits intoFeb 8, 2026
Merged
mouse-reeve merged 2 commits into
mouse-reeve merged 2 commits into
Conversation
* remove local source directory mounts from rest of the bookwyrm containers (celery_*, flower) * move dev-tools to dev-file * add project name in dev-compose file, so it doesn't overlap with normal container, allowing to run at the same time
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.
Description
Introduce docker-compose.dev.yml which contains dev-tools and config to mount local directory to container. Also it defines different name for the project, so containers are created with dev-wyrm -prefix instead of bookwyrm from default. This allows to run pytest etc without it using default volumes/db/etc from bookwyrm setup. Env-file is still the same, so db credentials etc are same.
Also modify bw-dev to use new file with the current compose file to run devtools and pytest etc that need web/db to be in place and used to be ran in normal web container.
What type of Pull Request is this?
Does this PR change settings or dependencies, or break something?
Details of breaking or configuration changes (if any of above checked)
Documentation
Tests