1
0
Fork 0
mirror of https://codeberg.org/demostf/postgres_refresh.git synced 2026-06-03 09:04:08 +02:00
Periodically refresh materialized postgresql views
  • Shell 60.9%
  • Dockerfile 39.1%
Find a file
2019-01-23 19:29:57 +01:00
Dockerfile initial version 2019-01-23 19:29:57 +01:00
loop.sh initial version 2019-01-23 19:29:57 +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