From b01df6af6236c15cd7faa41ac2a8fd15a77dbea7 Mon Sep 17 00:00:00 2001 From: furyhawk Date: Tue, 28 May 2024 17:03:15 +0800 Subject: [PATCH] Refactor docker-compose.yml to add command for PostgreSQL service --- compose/services.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/compose/services.yml b/compose/services.yml index c0f6bdf..47f01f6 100644 --- a/compose/services.yml +++ b/compose/services.yml @@ -35,6 +35,7 @@ services: PGDATA: "/var/lib/postgresql/data" LANG: en_US.utf8 TZ: Asia/Singapore + command: ["postgres", "-c", "log_statement=all", "log_destination=stderr"] volumes: - postgres_data:/var/lib/postgresql/data healthcheck: