Hi, is it possible to run supertokens-core with sq...
# support-questions-legacy
m
Hi, is it possible to run supertokens-core with sqlite database? I found this message from before: https://discord.com/channels/603466164219281420/1067986309248995430/1068195011298082876 but there is no direct answer (or probably I don't understand something). In dockerhub I found only recent images for mysql, postgresql and mongo. Docs also doesn't describe how to run with sqlite. My usecase is: I'm creating small app for ~500 users and app is using sqlite as its main datastore, because traffic is so small that it is sufficient. I would like to avoid running postgresql server only for supertokens. Instead of that I would like to use sqlite. I found this in google https://supertokens.com/docs/community/configuration/database/sqlite but this options are not mentioned here https://supertokens.com/docs/community/configuration/core so I'm not sure where I should put this configuration. Is there some additional documentation I missed? 🙂
r
hey @mateusz_52196 we use sqlite in the core for the in memory db. Unfortunately, there is no way to run sqlite with a persistent file and the core. However, you can fork the core repo and add that feature if you like!
m
Thanks for fast response, maybe I will give it a shot 🙂
32 Views