Files
templates/blueprints/spliit/docker-compose.yml
Quentin H f381e4db50 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
2026-07-07 12:55:31 -06:00

28 lines
739 B
YAML

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