From e707fac67bfdd2be1af2f7f660c91cb76a5f618e Mon Sep 17 00:00:00 2001 From: Tianyu Liu Date: Tue, 10 Jun 2025 12:40:19 +0200 Subject: [PATCH] update latest compose file according to affine --- affine/compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/affine/compose.yml b/affine/compose.yml index 78bdb45..982f186 100644 --- a/affine/compose.yml +++ b/affine/compose.yml @@ -21,6 +21,7 @@ services: environment: - REDIS_SERVER_HOST=redis - DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE:-affine} + - AFFINE_INDEXER_ENABLED=false restart: unless-stopped affine_migration: @@ -36,6 +37,7 @@ services: environment: - REDIS_SERVER_HOST=redis - DATABASE_URL=postgresql://${DB_USERNAME}:${DB_PASSWORD}@postgres:5432/${DB_DATABASE:-affine} + - AFFINE_INDEXER_ENABLED=false depends_on: postgres: condition: service_healthy @@ -53,7 +55,7 @@ services: restart: unless-stopped postgres: - image: postgres:16 + image: pgvector/pgvector:pg16 container_name: affine_postgres volumes: - ${DB_DATA_LOCATION}:/var/lib/postgresql/data @@ -71,4 +73,4 @@ services: interval: 10s timeout: 5s retries: 5 - restart: unless-stopped + restart: unless-stopped \ No newline at end of file