mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
have postgres log to console in dev env
also log slow queries and link to documentation for other possible settings
This commit is contained in:
parent
cae2c06190
commit
be45919ee4
@ -176,6 +176,8 @@ services:
|
||||
postgres:
|
||||
image: postgres:12
|
||||
container_name: tools_postgres_1
|
||||
# additional logging settings for postgres can be found https://www.postgresql.org/docs/current/runtime-config-logging.html
|
||||
command: postgres -c log_destination=stderr -c log_min_messages=info -c log_min_duration_statement={{ pg_log_min_duration_statement|default(1000) }}
|
||||
environment:
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
POSTGRES_USER: {{ pg_username }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user