-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 840 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (29 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# A docker file that sets up postgres for the test suite
# with extensive logging and auto_explain enabled.
services:
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: localtest
POSTGRES_USER: postgres
POSTGRES_DB: postgres
ports:
- "8190:5432"
volumes:
- data:/var/lib/postgresql/data
command: >-
postgres
-c shared_preload_libraries=auto_explain
-c auto_explain.log_min_duration=0
-c auto_explain.log_analyze=true
-c auto_explain.log_buffers=true
-c auto_explain.log_timing=true
-c auto_explain.log_triggers=true
-c auto_explain.log_verbose=true
-c auto_explain.log_nested_statements=true
-c client_min_messages=notice
-c log_statement=all
-c log_min_duration_statement=0
volumes:
data: