chore(docker): format compose.yml and compose.cn.yml files

This commit is contained in:
cfngc4594 2025-03-25 22:19:49 +08:00
parent 433cabebc4
commit ae2d4c6482
2 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ services:
networks: networks:
- judge4c - judge4c
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"] test: [ "CMD-SHELL", "pg_isready -U postgres -d postgres" ]
interval: 5s interval: 5s
timeout: 2s timeout: 2s
retries: 20 retries: 20

View File

@ -59,7 +59,7 @@ services:
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5
postgres: postgres:
image: postgres:16-alpine image: postgres:16-alpine
container_name: postgres container_name: postgres
@ -73,7 +73,7 @@ services:
networks: networks:
- judge4c - judge4c
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"] test: [ "CMD-SHELL", "pg_isready -U postgres -d postgres" ]
interval: 5s interval: 5s
timeout: 2s timeout: 2s
retries: 20 retries: 20