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