{"id":50590673,"url":"https://github.com/mehyaa/docker-postgres-pgvector","last_synced_at":"2026-06-05T10:01:50.929Z","repository":{"id":349240540,"uuid":"1201531649","full_name":"mehyaa/docker-postgres-pgvector","owner":"mehyaa","description":"pgvector injected Postgres images","archived":false,"fork":false,"pushed_at":"2026-04-04T22:33:00.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-05T00:24:13.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mehyaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-04T20:01:01.000Z","updated_at":"2026-04-04T22:33:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mehyaa/docker-postgres-pgvector","commit_stats":null,"previous_names":["mehyaa/docker-postgres-pgvector"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mehyaa/docker-postgres-pgvector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehyaa%2Fdocker-postgres-pgvector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehyaa%2Fdocker-postgres-pgvector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehyaa%2Fdocker-postgres-pgvector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehyaa%2Fdocker-postgres-pgvector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehyaa","download_url":"https://codeload.github.com/mehyaa/docker-postgres-pgvector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehyaa%2Fdocker-postgres-pgvector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33939226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-05T10:01:50.127Z","updated_at":"2026-06-05T10:01:50.923Z","avatar_url":"https://github.com/mehyaa.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostgreSQL with pgvector\n\n[pgvector](https://github.com/pgvector/pgvector) extension injected into official PostgreSQL images.\n\nThis repository provides Dockerfiles and automated builds for PostgreSQL with the `pgvector` extension across multiple PostgreSQL versions and OS variants.\n\n## Supported Tags\n\nThe images are available on GitHub Container Registry (`ghcr.io`).\n\n| PostgreSQL Version | OS Variant | Target Tag |\n| :--- | :--- | :--- |\n| **18** | Alpine, Bookworm, Trixie | `18-alpine`, `18-bookworm`, `18-trixie` |\n| **17** | Alpine, Bookworm, Trixie | `17-alpine`, `17-bookworm`, `17-trixie` |\n| **16** | Alpine, Bookworm, Trixie | `16-alpine`, `16-bookworm`, `16-trixie` |\n| **15** | Alpine, Bookworm, Trixie | `15-alpine`, `15-bookworm`, `15-trixie` |\n| **14** | Alpine, Bookworm, Trixie | `14-alpine`, `14-bookworm`, `14-trixie` |\n| **13** | Alpine, Bookworm, Trixie | `13-alpine`, `13-bookworm`, `13-trixie` |\n\n## Usage\n\n### Quick Start\n\nRun a container with the image (e.g., Postgres 18 Alpine variant):\n\n```bash\ndocker run --name pg-vector -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d ghcr.io/mehyaa/postgres-pgvector:18-alpine\n```\n\n### Enable Extension\n\nAfter starting the container, you must enable the extension in your database:\n\n```sql\nCREATE EXTENSION IF NOT EXISTS vector;\n```\n\n### Docker Compose Example\n\n```yaml\nservices:\n  db:\n    image: ghcr.io/mehyaa/postgres-pgvector:18-alpine\n    environment:\n      POSTGRES_PASSWORD: mysecretpassword\n      POSTGRES_DB: mydb\n    ports:\n      - \"5432:5432\"\n```\n\n## OS Variants\n\n- **Alpine**: Based on `alpine`. Lightweight and small footprint.\n- **Bookworm**: Based on `debian:bookworm` (current stable).\n- **Trixie**: Based on `debian:trixie` (testing).\n\n## Building Locally\n\nTo build a specific version locally:\n\n```bash\ndocker build -t postgres-pgvector:18-alpine ./18/alpine\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehyaa%2Fdocker-postgres-pgvector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehyaa%2Fdocker-postgres-pgvector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehyaa%2Fdocker-postgres-pgvector/lists"}