mirror of https://github.com/LemmyNet/lemmy.git
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>fix-pictrs-routing
parent
21455d6b73
commit
f878151648
|
@ -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 New Issue