Cannot propagate alembic revision from container to file tree with docker watch #1370
Unanswered
PierrickLP
asked this question in
Questions
Replies: 1 comment
-
I am facing the same issue. As suggested by Docker documentation, sync only works one way: from host to container. With the current watch setup and not mounting the directory as a volume, generated alembic revision files are not synced back to the host. I tried adding back the volume mapping but it resulted in the following error: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
With the new recommended
docker compose watch
command to start the project, any db revision files generated by alembic inside the container will not be replicated in the host system.Operating System
Linux, Windows
Operating System Details
wsl2 on w11
Python Version
3.12.6
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions