todo_service: публичный адрес services.khbuild.freeddns.org/api/todo вместо отдельного субхоста
All checks were successful
ci / test (push) Successful in 29s
ci / deploy (push) Successful in 2m16s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 15:37:11 +03:00
parent e6ac717623
commit 3ac2e427ec
8 changed files with 63 additions and 56 deletions

View File

@@ -80,14 +80,14 @@
defaultDays: 30,
},
todo_service: { // todo поверх JobTread и Supabase (todo.khbuild.freeddns.org): REST, MCP, вебхуки
todo_service: { // todo поверх JobTread и Supabase (services.khbuild.freeddns.org/api/todo): REST, MCP, вебхуки
http: { host: "127.0.0.1", port: 8094, token: "<token для внутренних вызовов и команды khb-todo>" },
allowedJobIds: ["<id проекта JobTread, куда сервису разрешено писать>"],
webhook: { publicBaseUrl: "https://todo.khbuild.freeddns.org", secret: "<секрет в адресе вебхука, 8+ знаков>", autoRegister: true },
webhook: { publicBaseUrl: "https://services.khbuild.freeddns.org/api/todo", secret: "<секрет в адресе вебхука, 8+ знаков>", autoRegister: true },
poll: { intervalSeconds: 300, backfillOnStart: true },
control: { enabled: true, tickSeconds: 600, quietDays: 2 },
notify: { enabled: false, url: "http://khb-assistant-prep:8085/chat/todo-events", token: "<токен сервиса агентов>", fromHour: 7, toHour: 19 },
mcp: { enabled: true, publicUrl: "https://todo.khbuild.freeddns.org", issuer: "https://keycloak.khbuild.freeddns.org/realms/khbuild", staticTokens: [] },
mcp: { enabled: true, publicUrl: "https://services.khbuild.freeddns.org/api/todo", issuer: "https://keycloak.khbuild.freeddns.org/realms/khbuild", staticTokens: [] },
defaults: { dueWorkdays: 3, controlOffsetDays: 2, staleDays: 21, reviewLine: false },
},
}