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 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
28 lines
739 B
YAML
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 |