add dockerfile for hosting purposes
This commit is contained in:
parent
82ecf80068
commit
da2e7da762
5 changed files with 52 additions and 6 deletions
|
@ -1,12 +1,10 @@
|
|||
import { defineConfig } from 'drizzle-kit';
|
||||
|
||||
if (!process.env.DATABASE_URL) throw new Error('DATABASE_URL is not set');
|
||||
|
||||
export default defineConfig({
|
||||
out: './drizzle',
|
||||
schema: './src/lib/server/db/schema',
|
||||
dialect: 'postgresql',
|
||||
dbCredentials: { url: process.env.DATABASE_URL },
|
||||
dbCredentials: { url: process.env.DATABASE_URL! || ' ' },
|
||||
verbose: true,
|
||||
strict: true
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue