Skip to content

Mount entire root_project as volume in app service to persist generat…#112

Merged
DominikCywinski merged 1 commit into
mainfrom
fix/mount-root-project-volume-in-app-service
Jul 8, 2026
Merged

Mount entire root_project as volume in app service to persist generat…#112
DominikCywinski merged 1 commit into
mainfrom
fix/mount-root-project-volume-in-app-service

Conversation

@DominikCywinski

Copy link
Copy Markdown
Contributor

Changes

  • Mount the whole project (.:/root_project) in the app service with an
    anonymous volume for /root_project/.venv, consistent with the
    celery-worker, celery-beat and flower services. The previous
    ./app and config/.env mounts are covered by the project mount.
  • Add migrations/versions/.gitkeep so the folder is tracked in the
    generated project's repo - without it, cloning the project before the
    first migration exists would leave versions/ missing on the host and
    alembic revision would fail in the container (the bind mount shadows
    the image contents).

Closes #90

@DominikCywinski DominikCywinski requested a review from KaliszS July 7, 2026 15:33
@DominikCywinski DominikCywinski merged commit 02eb8e4 into main Jul 8, 2026
@DominikCywinski DominikCywinski deleted the fix/mount-root-project-volume-in-app-service branch July 8, 2026 09:34
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.

Add volume for entire root_project to fix migration version empty folder

2 participants