feat: migrate from PocketBase to PostgreSQL with Drizzle ORM
- Add @project-e/db package with Drizzle schema and migrations - Replace PocketBase client with PostgreSQL-based database client - Migrate auth from custom to NextAuth.js - Add Docker Compose with PostgreSQL container - Update worker to use new database client - Remove PocketBase-specific files and migrations - Add drizzle config and initial migration
This commit is contained in:
@@ -7,9 +7,8 @@ const allowedHosts = (process.env.ALLOWED_HOSTS || 'localhost')
|
||||
.filter(Boolean);
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
transpilePackages: ['@project-e/shared'],
|
||||
transpilePackages: ['@project-e/shared', '@project-e/db'],
|
||||
output: 'standalone',
|
||||
serverExternalPackages: ['pocketbase'],
|
||||
|
||||
// Allow requests from configured hosts (for Nginx Proxy Manager)
|
||||
allowedDevOrigins: allowedHosts,
|
||||
|
||||
Reference in New Issue
Block a user