fix: 完善权威数据约束与测试隔离
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user