mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-08 15:35:24 +02:00
Add Dokploy configuration template for Spliit with environment variable (#969)
* Add Dokploy configuration template for Spliit with environment variables and domain setup * Fix : add double quote * Fix : remove container name * Fix : service name * Fix : use good name of database * Fix : change db name
This commit is contained in:
28
blueprints/spliit/docker-compose.yml
Normal file
28
blueprints/spliit/docker-compose.yml
Normal file
@@ -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
|
||||
BIN
blueprints/spliit/spliit.png
Normal file
BIN
blueprints/spliit/spliit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.5 KiB |
24
blueprints/spliit/template.toml
Normal file
24
blueprints/spliit/template.toml
Normal file
@@ -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}"
|
||||
17
meta.json
17
meta.json
@@ -5899,6 +5899,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",
|
||||
|
||||
Reference in New Issue
Block a user