From 89a5efa71726a591564cb9b6e32731524d220aea Mon Sep 17 00:00:00 2001 From: Adam Hendel Date: Tue, 21 May 2024 12:02:17 -0500 Subject: [PATCH] update link and dockerfile --- doc/guide.md | 2 +- timeseries-pg/Dockerfile | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/guide.md b/doc/guide.md index 609a1a3..729d65a 100644 --- a/doc/guide.md +++ b/doc/guide.md @@ -6,7 +6,7 @@ In this guide, you will become familiar with the functions and features of the t You'll need a PostgreSQL instance running timeseries `0.1.5` or later. An easy way to have one set up for you is to deploy one from Tembo Cloud [here](https://cloud.tembo.io). The free tier will perform well enough for the data set we'll be using. -Once that's up and running, you'll need a client machine with `psql` (to connect to your database) and [the Divvy dataset](https://tembo-demo-bucket.s3.amazonaws.com/202004--202402-divvy-tripdata-slim.csv.gz), which will total about 50MiB of CSV after decompression. +Once that's up and running, you'll need a client machine with `psql` (to connect to your database) and [the Divvy dataset](https://tembo-demo-bucket.s3.amazonaws.com/202004--202402-divvy-tripdata-slim.csv), which will total about 50MiB of CSV after decompression. _Note: If you'd like a larger data set, the above set is a downsampled version of [this file](https://tembo-demo-bucket.s3.amazonaws.com/202004--202402-divvy-tripdata-full.csv.gz), which covers the same time range but has 75 times as many trips._ diff --git a/timeseries-pg/Dockerfile b/timeseries-pg/Dockerfile index b965a9b..70739e7 100644 --- a/timeseries-pg/Dockerfile +++ b/timeseries-pg/Dockerfile @@ -46,5 +46,7 @@ FROM postgres:16.3-bookworm COPY --from=builder /usr/share/postgresql/16/extension /usr/share/postgresql/16/extension COPY --from=builder /usr/lib/postgresql/16/lib /usr/lib/postgresql/16/lib -COPY timeseries.conf /usr/share/postgresql/16/postgresql.conf.sample +COPY timeseries.conf . +RUN cat timeseries.conf >> /usr/share/postgresql/16/postgresql.conf.sample + USER postgres