From ae2d4c6482c2360fb5802b7d9eca85ed3950d143 Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Tue, 25 Mar 2025 22:19:49 +0800 Subject: [PATCH] chore(docker): format compose.yml and compose.cn.yml files --- compose.cn.yml | 2 +- compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compose.cn.yml b/compose.cn.yml index d95c3c6..299108e 100644 --- a/compose.cn.yml +++ b/compose.cn.yml @@ -73,7 +73,7 @@ services: networks: - judge4c healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"] + test: [ "CMD-SHELL", "pg_isready -U postgres -d postgres" ] interval: 5s timeout: 2s retries: 20 diff --git a/compose.yml b/compose.yml index 2a6af9f..ad854d9 100644 --- a/compose.yml +++ b/compose.yml @@ -59,7 +59,7 @@ services: interval: 10s timeout: 5s retries: 5 - + postgres: image: postgres:16-alpine container_name: postgres @@ -73,7 +73,7 @@ services: networks: - judge4c healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"] + test: [ "CMD-SHELL", "pg_isready -U postgres -d postgres" ] interval: 5s timeout: 2s retries: 20