Preload timescaledb via db command (conf.d ignored by official postgres entrypoint)
Some checks failed
build-and-deploy / build (push) Failing after 15s

This commit is contained in:
sirius0xdev 2026-07-07 18:21:48 -04:00
parent b40f83f393
commit 985fedec7b
No known key found for this signature in database

View file

@ -20,6 +20,9 @@ services:
POSTGRES_USER: ${DB_USER:-osint} POSTGRES_USER: ${DB_USER:-osint}
POSTGRES_PASSWORD: ${DB_PASSWORD:-osint} POSTGRES_PASSWORD: ${DB_PASSWORD:-osint}
POSTGRES_DB: ${DB_NAME:-osint_data} POSTGRES_DB: ${DB_NAME:-osint_data}
# Ensure TimescaleDB is preloaded (conf.d drop-in may be ignored by the
# official image's runtime-generated postgresql.conf, so pass it explicitly).
command: ["-c", "shared_preload_libraries=timescaledb"]
ports: ports:
- "127.0.0.1:5432:5432" - "127.0.0.1:5432:5432"
volumes: volumes: