Repository navigation
Can I skip PostgreSQL and run the server on SQLite? #565
Answered
by
lumenpearson
lumenpearson
asked this question in
Q&A
|
I'm running |
Answered by
lumenpearson
Oct 17, 2026
Replies: 1 comment
|
Not for a deployment. SQLite is fine for a local
PostgreSQL on compose costs nothing extra. It is one more service in the same file, and More: docs/deploy.md, Option 2, What is missing is said at the door. |
0 replies
Answer selected by
lumenpearson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not for a deployment. SQLite is fine for a local
uvicornrun and for development, and the test suite runs on it. Keep compose'sdbservice on a server that families depend on.DATABASE_URL, and neither installsaiosqlite.sqlite+aiosqlite:///./lessons.dbresolves to/srv/lessons.dbin theservercontainer, and no volume is mounted there. The nextdocker compose up -d --buildafter a code change creates a new container, and so doesdocker compose down. Either way the class's data is gone.db, you must do more than delete the …