mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 00:14:03 +00:00
Add postgres auto-explain for dev testing. (#2399)
* Add postgres auto-explain for dev testing. * add newline * fix indent Co-authored-by: Nutomic <me@nutomic.com>
This commit is contained in:
parent
21455d6b73
commit
f878151648
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/postgres:/var/lib/postgresql/data
|
- ./volumes/postgres:/var/lib/postgresql/data
|
||||||
restart: always
|
restart: always
|
||||||
|
command: ["postgres", "-c", "session_preload_libraries=auto_explain", "-c", "auto_explain.log_min_duration=5ms", "-c", "auto_explain.log_analyze=true"]
|
||||||
|
|
||||||
pictrs:
|
pictrs:
|
||||||
image: asonix/pictrs:0.3.1
|
image: asonix/pictrs:0.3.1
|
||||||
|
|
Loading…
Reference in a new issue