Periodically refresh materialized postgresql views
  • Shell 60.9%
  • Dockerfile 39.1%
Find a file
2024-03-17 19:18:42 +01:00
.github/workflows multi-arch docker 2024-03-17 19:18:39 +01:00
Dockerfile initial version 2019-01-23 19:29:57 +01:00
LICENSE Create LICENSE 2019-01-23 19:31:08 +01:00
loop.sh concurrently 2024-03-17 19:18:42 +01:00
README.md initial version 2019-01-23 19:29:57 +01:00

POSTGRES_REFRESH

Periodically refresh materialized postgresql views

Usage

This docker image can be configured using the following environment variables.

Variable Default Comment
$POSTGRES_HOST - database host
$POSTGRES_PORT 5432 database port
$POSTGRES_USER postgres database user
$POSTGRES_PASSWORD - database password
$POSTGRES_DATABASE postgres database name containing the views
$VIEWS - space separated list of views to refresh
$INTERVAL 3600 Time between refreshes in seconds