Enable pgstatements in Postgres

This commit is contained in:
Manuel Bustillo 2025-01-22 21:40:08 +01:00
parent 0c5162b326
commit 259d559b71

View File

@ -74,6 +74,7 @@ services:
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres POSTGRES_DB: postgres
command: postgres -c shared_preload_libraries='pg_stat_statements' -c pg_stat_statements.track=all
healthcheck: healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres'] test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 10s interval: 10s