feat: PostgreSQL image with TimescaleDB, VectorChord, pgvector
All checks were successful
🚀 Docker Build and Push / build-and-push (15) (push) Successful in 5m44s
🚀 Docker Build and Push / build-and-push (16) (push) Successful in 5m33s
🚀 Docker Build and Push / build-and-push (18) (push) Successful in 6m7s
🚀 Docker Build and Push / build-and-push (17) (push) Successful in 7m54s

- Multi-stage Dockerfile for optimized image size (676MB vs 2GB)
- Support for PostgreSQL 15, 16, 17, 18
- TimescaleDB 2.24.0, VectorChord 1.0.0, pgvector 0.8.1
- Auto-creation of extensions on first startup
- CI/CD with tests for all versions
- OCI labels and healthcheck included
This commit is contained in:
2025-12-19 11:57:54 +01:00
commit 4ea4132653
7 changed files with 283 additions and 0 deletions

4
init-timescale.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
# This script is run during the first database initialization
# TimescaleDB requires being preloaded - this message is informational only
echo "TimescaleDB is installed. Remember to set shared_preload_libraries = 'timescaledb' in postgresql.conf or use the POSTGRES_SHARED_PRELOAD_LIBRARIES environment variable."