Skip to content

Instantly share code, notes, and snippets.

@pedrospdc
Created March 26, 2019 16:08
Show Gist options
  • Save pedrospdc/e003c846cc2e2903ab85212be9b6eb41 to your computer and use it in GitHub Desktop.
Save pedrospdc/e003c846cc2e2903ab85212be9b6eb41 to your computer and use it in GitHub Desktop.
Show all queries in a PostgreSQL container
db:
ports:
- 5432:5432
entrypoint:
- docker-entrypoint.sh
- -c
- log_statement=all
- -c
- log_destination=stderr
- -c
- logging_collector=off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment