fix(db): bootstrap полной схемы на чистой установке и логи Docker
Docker / build (push) Failing after 18s

Пустой volume больше не отдаёт 500 на /api/data из-за отсутствующих таблиц. В compose добавлены json-file логи с ротацией и LOG_LEVEL для Fastify.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
DenozordecandCursor committed 2026-07-19 04:27:42 +07:00
1 parent 5060b78875
commit 2931d6ee0f
7 files changed
+321 -45

No files matched your search

+3 -1
View File
@@ -43,7 +43,9 @@ export async function buildApp(opts: BuildAppOptions = {}) {
getDb()
const app = Fastify({
logger: process.env.NODE_ENV !== 'production',
logger: {
level: process.env.LOG_LEVEL ?? 'info',
},
})
await app.register(cors, { origin: true })