Disable auto-seeding on startup and fix manual seed script
This commit is contained in:
@@ -24,7 +24,6 @@ OPENAI_MODEL="gpt-4o-mini"
|
||||
CF_AGENT_MODE="langgraph"
|
||||
CF_WHISPER_MODEL="Xenova/whisper-small"
|
||||
CF_WHISPER_LANGUAGE="ru"
|
||||
CF_RUN_SEED_ON_START="0"
|
||||
|
||||
TELEGRAM_BOT_TOKEN=""
|
||||
TELEGRAM_WEBHOOK_SECRET=""
|
||||
|
||||
@@ -230,7 +230,6 @@ async function main() {
|
||||
startsAt: firstStart,
|
||||
endsAt: plusMinutes(firstStart, 30),
|
||||
note: "Подтвердить рамки интеграции, текущий стек и метрики успеха пилота.",
|
||||
status: "done",
|
||||
},
|
||||
{
|
||||
teamId: team.id,
|
||||
@@ -239,7 +238,6 @@ async function main() {
|
||||
startsAt: secondStart,
|
||||
endsAt: plusMinutes(secondStart, 45),
|
||||
note: "Проверить маппинг API, границы ETL и ограничения для AI-ассистента.",
|
||||
status: "done",
|
||||
},
|
||||
];
|
||||
}),
|
||||
|
||||
@@ -37,8 +37,4 @@ done
|
||||
|
||||
npx prisma db push
|
||||
|
||||
if [ "${CF_RUN_SEED_ON_START:-0}" = "1" ]; then
|
||||
node prisma/seed.mjs
|
||||
fi
|
||||
|
||||
exec npm run dev -- --host 0.0.0.0 --port 3000
|
||||
|
||||
@@ -18,7 +18,6 @@ services:
|
||||
OPENROUTER_REASONING_ENABLED: "${OPENROUTER_REASONING_ENABLED:-1}"
|
||||
CF_WHISPER_MODEL: "${CF_WHISPER_MODEL:-Xenova/whisper-small}"
|
||||
CF_WHISPER_LANGUAGE: "${CF_WHISPER_LANGUAGE:-ru}"
|
||||
CF_RUN_SEED_ON_START: "${CF_RUN_SEED_ON_START:-0}"
|
||||
LANGFUSE_ENABLED: "${LANGFUSE_ENABLED:-true}"
|
||||
LANGFUSE_BASE_URL: "${LANGFUSE_BASE_URL:-http://langfuse-web:3000}"
|
||||
LANGFUSE_PUBLIC_KEY: "${LANGFUSE_PUBLIC_KEY:-pk-lf-local}"
|
||||
|
||||
Reference in New Issue
Block a user