spliit
App Wishlist
7
Posts
5
Posters
605
Views
7
Watching
-
Free and Open Source Alternative to Splitwise. Share expenses with your friends and family.
https://spliit.app
https://github.com/spliit-app/spliit -
Hi,
I forked the Spliit GitHub project and with very little configuration, I got it up and running :CloudronManifest.json
{ "id": "spliit.cloudron", "title": "Spliit", "author": "spliit-app", "version": "1.0.0", "httpPort": 3000, "addons": { "postgresql": {} }, "manifestVersion": 2 }
diff --git a/scripts/container-entrypoint.sh b/scripts/container-entrypoint.sh index f6b0572..3a20463 100755 --- a/scripts/container-entrypoint.sh +++ b/scripts/container-entrypoint.sh @@ -2,5 +2,8 @@ set -euxo pipefail +export POSTGRES_PRISMA_URL=${CLOUDRON_POSTGRESQL_URL} +export POSTGRES_URL_NON_POOLING=${CLOUDRON_POSTGRESQL_URL} npx prisma migrate deploy exec npm run start
docker build Dockerfile -t docker-registry.*******/spliit docker push docker-registry.*******/spliit cloudron install --image docker-registry.*******/spliit
The only hiccup is the health check with a documented bug. The app needs to be called with an
Accept-Language
header, but Cloudron manifest cannot specify headers to my knowledge. So I can't enable the healthcheck.
https://github.com/spliit-app/spliit/issues/221Enjoy