fix: 完善权威数据约束与测试隔离

This commit is contained in:
root
2026-09-14 11:34:07 +08:00
parent a2a5e4bd0f
commit c547e78a22
9 changed files with 600 additions and 160 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ services:
POSTGRES_USER: ${POSTGRES_TEST_USER:-drift}
POSTGRES_PASSWORD: ${POSTGRES_TEST_PASSWORD:-drift_test_only}
ports:
- "${POSTGRES_TEST_PORT:-55432}:5432"
- "127.0.0.1:${POSTGRES_TEST_PORT:-55432}:5432"
healthcheck:
test:
[
@@ -21,7 +21,7 @@ services:
image: redis:7-alpine
command: ["redis-server", "--save", "", "--appendonly", "no"]
ports:
- "${REDIS_TEST_PORT:-56379}:6379"
- "127.0.0.1:${REDIS_TEST_PORT:-56379}:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 2s