postgresql
homelab.postgresql
| Name | Type | Default | Description |
|---|---|---|---|
alerts. |
boolean | config. |
Whether Grafana alerts on PostgreSQL being down and on its backups. |
|
Whether Grafana alerts on PostgreSQL being down and on its backups. Default Declared in |
|||
databases |
attribute set of (submodule) | — | Databases to create and backup, indexed by serviceName |
|
Databases to create and backup, indexed by serviceName Declared in |
|||
databases. |
boolean | false |
Whether to enable backup of the database. |
|
Whether to enable backup of the database. Default Example Declared in |
|||
databases. |
null or string | "10 3 * * *" |
Cronjob notation of when the database should be dumped |
|
Cronjob notation of when the database should be dumped Default Example Declared in |
|||
databases. |
null or string | "`<serviceName>`" |
Name of the database |
|
Name of the database Default Declared in |
|||
databases. |
string | "`<serviceName>`" |
Namespace of the consumer, which gets the password of username as the … |
|
Namespace of the consumer, which gets the password of Default Declared in |
|||
databases. |
list of string | [ ] |
Commands to run as a superuser in the database right after it has been … |
|
Commands to run as a superuser in the database right after it has been created Default Declared in |
|||
databases. |
null or string | "`<dbName>`" |
Database username |
|
Database username Default Declared in |
|||
debug |
boolean | false |
Whether to enable debug mode. |
|
Whether to enable debug mode. Default Example Declared in |
|||
dumpsVolume |
attribute set of anything | { } |
Volume source (as specificed on the pod spec) to place database dumps in |
|
Volume source (as specificed on the pod spec) to place database dumps in Default Declared in |
|||
enable |
boolean | false |
Whether to enable PostgreSQL. |
|
Whether to enable PostgreSQL. Default Example Declared in |
|||
extraSettings |
strings concatenated with "\n" | "" |
Additional postgresql.conf settings |
|
Additional postgresql.conf settings Default Declared in |
|||
grafana. |
boolean | config. |
Whether the Workload dashboard has PostgreSQL's rows. |
|
Whether the Workload dashboard has PostgreSQL's rows. Default Declared in |
|||
image. |
package | "The entrypoint from… |
The docker-entrypoint to install |
|
The docker-entrypoint to install Default Declared in |
|||
image. |
list of string | [ ] |
List of postgresql extensions to include in the image |
|
List of postgresql extensions to include in the image Default Declared in |
|||
image. |
package | pkgs. |
The postgresql_18 package to use. |
|
The postgresql_18 package to use. Default Declared in |
|||
metrics. |
boolean | config. |
Whether Alloy scrapes PostgreSQL's metrics, and runs its exporter … |
|
Whether Alloy scrapes PostgreSQL's metrics, and runs its exporter sidecar. Default Declared in |
|||