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
24 lines
630 B
TOML
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}" |