Skip to content

clevyr/docker-cloudnativepg-timescale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudNativePG Containers with TimescaleDB

Build

This repo builds Docker images for CloudNativePG with the TimescaleDB extension installed.

Both versions are automatically updated by Renovate bot, so new releases will be available within a few hours.

Images

Images are available at ghcr.io/clevyr/cloudnativepg-timescale. There are tags available for Postgres v14, v15, v16, and v17.

Deployment

Set .spec.imageName in the Cluster to use one of the container images provided by this repository.

For example:

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: example
spec:
  instances: 3
  imageName: ghcr.io/clevyr/cloudnativepg-timescale:17-ts2
  postgresql:
    shared_preload_libraries:
      - timescaledb
  bootstrap:
    initdb:
      postInitTemplateSQL:
        - CREATE EXTENSION IF NOT EXISTS timescaledb;