chore: 合并前端修复并调整 Docker 镜像源

This commit is contained in:
yml2213
2026-05-21 12:26:45 +08:00
parent 5474d77799
commit e3518c791f
27 changed files with 54 additions and 72 deletions
+8 -3
View File
@@ -1,6 +1,6 @@
services:
postgres:
image: postgres:16-bookworm
image: docker.m.daocloud.io/library/postgres:16-bookworm
restart: unless-stopped
environment:
TZ: ${TZ:-Asia/Shanghai}
@@ -8,7 +8,11 @@ services:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres} -d ${POSTGRES_DB:-order_site}"]
test:
[
"CMD-SHELL",
"pg_isready -U ${POSTGRES_USER:-postgres} -d ${POSTGRES_DB:-order_site}",
]
interval: 5s
timeout: 5s
retries: 20
@@ -42,7 +46,8 @@ services:
ocr-worker:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:3000/health/ready || exit 1"]
test:
["CMD-SHELL", "curl -fsS http://127.0.0.1:3000/health/ready || exit 1"]
interval: 5s
timeout: 5s
retries: 20