fix(env): 要求配置 SoH 预测服务

This commit is contained in:
2026-05-11 23:38:38 +08:00
parent a131bb845b
commit 8a3d5fd947
3 changed files with 6 additions and 3 deletions
+3
View File
@@ -26,6 +26,7 @@ services:
condition: service_healthy
environment:
- DATABASE_URL=mysql://battery:battery@db:3306/battery_soh
- SOH_PREDICTION_API_BASE_URL=http://host.docker.internal:8000
command: [ "bun", "run", "seed" ]
app:
@@ -33,6 +34,8 @@ services:
depends_on:
seed:
condition: service_completed_successfully
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "3000:3000"
environment: