postgresql

homelab.postgresql

Name Type Description
databases attribute set of (submodule) Databases to create and backup, indexed by serviceName
databases..backup.enable boolean Whether to enable backup of the database.
databases..backup.schedule null or string Cronjob notation of when the database should be dumped
databases..dbName null or string Name of the database
databases..password null or string Password for the user
databases..setupCommands list of string Commands to run as a superuser in the database right after it has been created
databases..username null or string Database username
debug boolean Whether to enable debug mode.
dumpsVolume attribute set of anything Volume source (as specificed on the pod spec) to place database dumps in
enable boolean Whether to enable PostgreSQL.
extraSettings strings concatenated with "\n" Additional postgresql.conf settings
image.entrypoint package The docker-entrypoint to install
image.extensions list of string List of postgresql extensions to include in the image
image.package package The postgresql_18 package to use.