- Refactor docker/postgres/Dockerfile to build on pgvector:pg17 with postgresql-17-postgis-3. - Fix .gitignore rule to cleanly track .env.example. - Add .env.example with local database, auth, and PGAdmin configuration templates.
11 lines
353 B
Docker
11 lines
353 B
Docker
FROM pgvector/pgvector:pg17
|
|
|
|
# Install official PostGIS 3 for PostgreSQL 17
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
postgresql-17-postgis-3 \
|
|
postgresql-17-postgis-3-scripts && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY docker/postgres/init-extensions.sql /docker-entrypoint-initdb.d/01-init-extensions.sql
|