feat: update environment configuration for production and add Docker support
CI/CD / test-and-build (push) Waiting to run
CI/CD / deploy (push) Blocked by required conditions

This commit is contained in:
Najjar\NajjarV02
2026-04-15 10:04:07 +04:00
parent 3fbdc3b187
commit 138e8377a6
6 changed files with 124 additions and 7 deletions
+3 -1
View File
@@ -6,6 +6,8 @@ export default defineConfig({
path: "prisma/migrations",
},
datasource: {
url: "file:./prisma/lootah.db",
// In production (Coolify), set DATABASE_URL=file:/app/prisma/lootah.db
// and mount /app/prisma as a persistent volume.
url: process.env.DATABASE_URL ?? "file:./prisma/lootah.db",
},
});