This repository was archived by the owner on May 29, 2026. It is now read-only.
fix: use pgvector/pgvector:pg16 for Postgres and rename env.example to .env.example#4
Open
lutzgo wants to merge 1 commit into
Open
fix: use pgvector/pgvector:pg16 for Postgres and rename env.example to .env.example#4lutzgo wants to merge 1 commit into
lutzgo wants to merge 1 commit into
Conversation
…xample - 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 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two small fixes to unblock a clean first-run setup:
Use
pgvector/pgvector:pg16instead ofpostgres:16-alpine— LearnHouse relies on thepgvectorextension for vector search. The stockpostgres:16-alpineimage does not ship with this extension, so users hit an error on first boot when the app tries to create thevectorcolumn type.pgvector/pgvector:pg16is the official drop-in image that includes the extension pre-installed; it is based on the samepostgres:16-alpinebase.Rename
env.example→.env.example— The README (and the inline comment inside the file itself) document the setup step ascp .env.example .env. With the old filenameenv.examplethat command fails withNo such file or directory. Renaming to.env.examplemakes the documented workflow work without modification. The inline comment inside the file is updated to match.Test plan
cp .env.example .envsucceeds after clonedocker compose up -dstarts without a missing-extension error on thedbservice