From d4b174971c3c30f95fd8ae1851e7e21632d55e77 Mon Sep 17 00:00:00 2001 From: Lutz Go Date: Wed, 25 Mar 2026 15:08:04 +0100 Subject: [PATCH] fix: use pgvector image for postgres and rename env.example to .env.example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace postgres:16-alpine with pgvector/pgvector:pg16 in docker-compose.yml so vector-search features work out of the box without a manual extension install. - Rename env.example → .env.example to match the documented setup command (`cp .env.example .env`). The old name caused the cp command in the README and in the file's own comment to fail with "No such file or directory". Update the inline comment in the file to reflect the new name. Co-Authored-By: Claude Sonnet 4.6 --- env.example => .env.example | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename env.example => .env.example (99%) diff --git a/env.example b/.env.example similarity index 99% rename from env.example rename to .env.example index 6556e4a..e56cf9b 100644 --- a/env.example +++ b/.env.example @@ -1,6 +1,6 @@ # LearnHouse Self-Hosting Environment Variables # Copy this file to .env and customize the values for your deployment -# cp env.example .env +# cp .env.example .env # ============================================================================= # Domain & Hosting Configuration diff --git a/docker-compose.yml b/docker-compose.yml index 05cca7d..cd9cc72 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -46,7 +46,7 @@ services: retries: 3 db: - image: postgres:16-alpine + image: pgvector/pgvector:pg16 container_name: learnhouse-db restart: unless-stopped env_file: