Replies: 1 comment
-
|
Never mind, I just saw that |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is just a question for understanding.
I have an application that uses a sqlite database. In
rxconfig.py, I have setdb_url="sqlite:///reflex.db". When I runreflex runin the root folder of my application, thereflex.dbis created in that folder. So far so good.However, in the "production-compose" Docker example, a "db-data" volume is mounted in
/app/data(with the application being in/app). When I run the containers (docker compose up), the database magically get's created in/app/datainstead of/app. Why is this the case? I couldn't find anything in the Dockerfile, that would explain this. I also couldn't find anything in the documentation but that might just be because I don't know what to search for.Beta Was this translation helpful? Give feedback.
All reactions