diff --git a/content/self-hosting/environment-variables.mdx b/content/self-hosting/environment-variables.mdx index 16b89b46..41f8bd90 100644 --- a/content/self-hosting/environment-variables.mdx +++ b/content/self-hosting/environment-variables.mdx @@ -42,12 +42,14 @@ Deployment with [one-click deploy](/self-hosting/installation#one-click-deployme ### Database | Variable | Description | Default value | -|------------------------|-------------------------------------------------------------------------------------------|---------------| -| `LOGCHIMP_DB_HOST` | Hostname or IP address of your PostgreSQL server. | `db` | -| `LOGCHIMP_DB_DATABASE` | Name of the PostgreSQL database LogChimp will use. | `logchimp` | -| `LOGCHIMP_DB_PORT` | TCP port your PostgreSQL server is listening on. | `5432` | -| `LOGCHIMP_DB_USER` | Username for PostgreSQL authentication. | `logchimp` | -| `LOGCHIMP_DB_PASSWORD` | Password for PostgreSQL authentication. **Critical:** Use a strong, unique password here. | `logchimp` | +|------------------------|-------------------------------------------------------------------------------------------|---------------------------------------------| +| `LOGCHIMP_DB_URL` | Complete connection URL for PostgreSQL. If provided this takes precedence over individual connection parameters. Format: `postgresql://user:password@db:5432/db` | | +| `LOGCHIMP_DB_HOST` | Hostname or IP address of your PostgreSQL server. | `db` | +| `LOGCHIMP_DB_DATABASE` | Name of the PostgreSQL database LogChimp will use. | `logchimp` | +| `LOGCHIMP_DB_PORT` | TCP port your PostgreSQL server is listening on. | `5432` | +| `LOGCHIMP_DB_USER` | Username for PostgreSQL authentication. | `logchimp` | +| `LOGCHIMP_DB_PASSWORD` | Password for PostgreSQL authentication. **Critical:** Use a strong, unique password here. | `logchimp` | + ### Mail