Preload timescaledb via db command (conf.d ignored by official postgres entrypoint)
Some checks failed
build-and-deploy / build (push) Failing after 15s
Some checks failed
build-and-deploy / build (push) Failing after 15s
This commit is contained in:
parent
b40f83f393
commit
985fedec7b
1 changed files with 3 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue