mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
15 lines
768 B
Docker
15 lines
768 B
Docker
# =============================================================================
|
|
# PostgreSQL with pgvector (Custom Build Example)
|
|
# =============================================================================
|
|
# Example: Build pgvector from source on standard postgres image
|
|
# Currently unused - docker-compose.yml uses pgvector/pgvector:pg16 directly
|
|
# =============================================================================
|
|
|
|
FROM pgvector/pgvector:pg17
|
|
|
|
# Add init script to create extension on startup
|
|
COPY docker/postgres-init/01-create-extensions.sql /docker-entrypoint-initdb.d/
|
|
|
|
LABEL org.opencontainers.image.title="PostgreSQL with pgvector"
|
|
LABEL org.opencontainers.image.description="PostgreSQL 17 with pgvector extension for vector similarity search"
|