diff --git a/infra/postgres/Dockerfile b/infra/postgres/Dockerfile index 9dbcb48..d802512 100644 --- a/infra/postgres/Dockerfile +++ b/infra/postgres/Dockerfile @@ -2,4 +2,7 @@ FROM postgres:16 RUN apt-get update \ && apt-get install -y --no-install-recommends postgresql-16-cron \ - && rm -rf /var/lib/apt/lists/* \ No newline at end of file + && rm -rf /var/lib/apt/lists/* \ + +RUN echo "shared_preload_libraries = 'pg_cron'" >> /usr/share/postgresql/postgresql.conf.sample \ + && echo "cron.database_name = 'familyHubDB'" >> /usr/share/postgresql/postgresql.conf.sample \ No newline at end of file