Enable pgstatements in Postgres
This commit is contained in:
parent
0c5162b326
commit
259d559b71
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user