fix(api): graceful shutdown, единый обработчик ошибок и корректные 404

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
DenozordecandClaude Sonnet 5.5 committed 2026-10-23 15:53:18 +07:00
1 parent 0948455d15
commit 140ffdb7b1
10 files changed
+335 -9

No files matched your search

+2
View File
@@ -23,6 +23,8 @@ services:
volumes:
- ./data:/data
restart: unless-stopped
init: true
stop_grace_period: 15s
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:8080/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
interval: 30s