devenv: postgres: make it work (#76323)

This commit is contained in:
Gábor Farkas 2023-10-13 08:53:38 +02:00 committed by GitHub
parent 1a34cf6b0e
commit 03bb6d6f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
POSTGRES_DB: grafana
ports:
- "5432:5432"
command: postgres -c log_connections=on -c logging_collector=on -c log_destination=stderr -c log_directory=/var/log/postgresql
command: postgres -c log_connections=on -c log_disconnections=on -c log_destination=stderr
healthcheck:
test: [ "CMD", "pg_isready", "-q", "-d", "grafana", "-U", "grafana" ]
timeout: 45s