Open parnic-sks opened 6 months ago
Hello,
For the moment the website don't support sqlite and postgres.
The options listed come from my library supporting these engines generally speaking.
To be fully compatible, I'd have to do the following:
app/models
to support the selected enginebuild
and validate
to support each engineIt can be done in the future.
Sorry if an Issue isn't the right place to post this - I didn't see a Discussions tab or anything.
Description
I see that sqlite is listed as a possible DATABASE_DRIVER value, but I'm having trouble getting it to work. I've got this application hosted in a small AWS VM and it's working well, but since the VM only has 1GB RAM and it's hosting a few other things at the same time, MariaDB is occupying 9% of the memory and I'd rather be able to reclaim that. If it's possible to run this against sqlite, we could get more mileage out of the VM.
Steps to reproduce this issue
Expected behavior
No error, site works with sqlite db instead of maria/mysql.
Actual behavior
Site gives a message:
Additional context
I'm using the https://github.com/blueprintue/blueprintue-self-hosted-edition/blob/main/docker-examples/docker-compose-smtp.yml docker example as a base, and everything is working fine with DATABASE_DRIVER=mysql. When I switch DATABASE_DRIVER to sqlite and
docker compose up -d
, the site gives me an "Error. An error occured, please try later." page, and "docker logs blueprintue-self-hosted-edition" don't show anything other than the GET request.