diff --git a/blueprints/spliit/docker-compose.yml b/blueprints/spliit/docker-compose.yml new file mode 100644 index 000000000..9cde72a47 --- /dev/null +++ b/blueprints/spliit/docker-compose.yml @@ -0,0 +1,28 @@ +services: + spliit: + image: ghcr.io/spliit-app/spliit:1.19.0 + restart: unless-stopped + env_file: + - .env + depends_on: + spliit_db: + condition: service_healthy + spliit-db: + image: pgvector/pgvector:pg16 + volumes: + - ${DB_DATA_LOCATION}:/var/lib/DBql/data + environment: + POSTGRES_USER: ${DB_USERNAME} + POSTGRES_PASSWORD: ${DB_PASSWORD} + POSTGRES_DB: ${DB_DATABASE:-spliit} + POSTGRES_INITDB_ARGS: '--data-checksums' + POSTGRES_HOST_AUTH_METHOD: trust + healthcheck: + test: + ['CMD', 'pg_isready', '-U', "${DB_USERNAME}", '-d', "${DB_DATABASE:-spliit}"] + interval: 10s + timeout: 5s + retries: 5 + restart: unless-stopped + env_file: + - .env \ No newline at end of file diff --git a/blueprints/spliit/spliit.png b/blueprints/spliit/spliit.png new file mode 100644 index 000000000..3ac8cdb4d Binary files /dev/null and b/blueprints/spliit/spliit.png differ diff --git a/blueprints/spliit/template.toml b/blueprints/spliit/template.toml new file mode 100644 index 000000000..9bcc6e482 --- /dev/null +++ b/blueprints/spliit/template.toml @@ -0,0 +1,24 @@ + +[variables] +main_domain = "${domain}" +secret_key = "${password}" +project_name = "spliit" + +[config] +mounts = [] + +[[config.domains]] +serviceName = "spliit" +port = 3000 +host = "${main_domain}" + +[config.env] + +DB_USERNAME = "${project_name}-admin" +DB_PASSWORD = "${secret_key}" +DB_DATA_LOCATION = "/data/${project_name}/database" +DB_DATABASE = "${project_name}" + +# --- PostgreSQL --- +POSTGRES_PRISMA_URL = "postgresql://${DB_USERNAME}:${DB_PASSWORD}@${project_name}_db:5432/${DB_DATABASE}" +POSTGRES_URL_NON_POOLING = "postgresql://${DB_USERNAME}:${DB_PASSWORD}@${project_name}_db:5432/${DB_DATABASE}" \ No newline at end of file diff --git a/meta.json b/meta.json index ffff0e0ba..bf32f6746 100644 --- a/meta.json +++ b/meta.json @@ -5535,6 +5535,23 @@ "storage" ] }, + { + "id": "spliit", + "name": "Spliit", + "version": "latest", + "description": "Spliit is a lightweight, self-hosted alternative to Auth0 and Clerk. Open-source, cost-effective, and developer-friendly, it provides secure authentication (OAuth, email/password, social logins) with full control over your data. No per-user fees, easy to integrate, and perfect for startups or privacy-focused projects.", + "logo": "spliit.png", + "links": { + "github": "https://github.com/spliit-app/spliit", + "website": "https://spliit.app/", + "docs": "https://github.com/spliit-app" + }, + "tags": [ + "budgeting", + "finance", + "money" + ] + }, { "id": "stack-auth", "name": "Stack Auth",