Add multi-stage Dockerfile, docker-compose with persistent volumes, and Gitea Actions workflows for CI (lint/test/build) and releases (tag, Docker image push, changelog). Support DATABASE_PATH env var for configurable SQLite location to enable proper volume mounting. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
11 lines
221 B
TypeScript
11 lines
221 B
TypeScript
import { defineConfig } from "drizzle-kit";
|
|
|
|
export default defineConfig({
|
|
out: "./drizzle",
|
|
schema: "./src/db/schema.ts",
|
|
dialect: "sqlite",
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_PATH || "gearbox.db",
|
|
},
|
|
});
|