Files
templates/blueprints/spliit/template.toml
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

24 lines
630 B
TOML

[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}"