From 4ecd312c14f4e634e1a29118df04ad121c283a66 Mon Sep 17 00:00:00 2001 From: AlexBelyan Date: Sun, 24 May 2026 17:45:35 +0300 Subject: [PATCH] fixed connection string in configs --- infra/postgres/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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