Initial Upload
Some checks failed
CI / Lint & Typecheck (push) Has been cancelled
CI / Test (routes) (push) Has been cancelled
CI / Test (security) (push) Has been cancelled
CI / Test (services) (push) Has been cancelled
CI / Test (unit) (push) Has been cancelled
CI / Test (integration) (push) Has been cancelled
CI / Test Coverage (push) Has been cancelled
CI / Build (push) Has been cancelled

This commit is contained in:
2025-12-17 12:32:50 +13:00
commit 3015f48118
471 changed files with 141143 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# TimescaleDB with Toolkit extension
# Builds from official PostgreSQL image with TimescaleDB and Toolkit added
# This provides feature parity with the supervised image
FROM postgres:15-bookworm
# Install TimescaleDB and Toolkit from official TimescaleDB repo
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
ca-certificates \
gnupg \
&& curl -fsSL https://packagecloud.io/timescale/timescaledb/gpgkey | gpg --dearmor -o /usr/share/keyrings/timescaledb-keyring.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/timescaledb-keyring.gpg] https://packagecloud.io/timescale/timescaledb/debian/ bookworm main" > /etc/apt/sources.list.d/timescaledb.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
timescaledb-2-postgresql-15 \
timescaledb-toolkit-postgresql-15 \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get purge -y --auto-remove curl gnupg
# Enable TimescaleDB in PostgreSQL config
RUN echo "shared_preload_libraries = 'timescaledb'" >> /usr/share/postgresql/postgresql.conf.sample