From 9a09e6d1e371068f976d230776aec5285aae4905 Mon Sep 17 00:00:00 2001 From: vedantsahai18 Date: Wed, 8 Jan 2025 17:45:54 -0500 Subject: [PATCH] chore: memory store docker val --- memory-store/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/memory-store/docker-compose.yml b/memory-store/docker-compose.yml index 1db4037bb..ab4327b8a 100644 --- a/memory-store/docker-compose.yml +++ b/memory-store/docker-compose.yml @@ -7,7 +7,7 @@ services: # See: https://github.com/timescale/timescaledb-docker?tab=readme-ov-file#notes-on-timescaledb-tune environment: - POSTGRES_PASSWORD=${MEMORY_STORE_PASSWORD:-postgres} - - OPENAI_API_KEY=${OPENAI_API_KEY} + - OPENAI_API_KEY=${OPENAI_API_KEY:?OPENAI_API_KEY is required} - TS_TUNE_MAX_CONNS=${TS_TUNE_MAX_CONNS:-1000} ports: - "5432:5432" @@ -30,8 +30,8 @@ services: image: timescale/pgai-vectorizer-worker:latest environment: - PGAI_VECTORIZER_WORKER_DB_URL=postgres://postgres:${MEMORY_STORE_PASSWORD:-postgres}@memory-store:5432/postgres - - OPENAI_API_KEY=${OPENAI_API_KEY} - command: [ "--poll-interval", "2s" ] + - OPENAI_API_KEY=${OPENAI_API_KEY:?OPENAI_API_KEY is required} + command: [ "--poll-interval", "5s" ] depends_on: memory-store: condition: service_healthy