pivot: migrate V1 mobile from Docker to Netlify serverless

- Switch Prisma schema from SQLite to PostgreSQL
- Add netlify.toml for Netlify deployment config
- Add @netlify/plugin-nextjs for serverless Next.js
- Remove Docker build files (Dockerfile, docker-compose, start.sh)
- Remove auto-healer and scripts directories
- Update next.config.ts (remove standalone output)
- Database: falah_mobile_v1 on Contabo Postgres
This commit is contained in:
2026-06-28 23:02:48 +02:00
parent 5b08f8b041
commit a1c5fecd83
117 changed files with 8619 additions and 2837 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
generator client {
provider = "prisma-client-js"
binaryTargets = ["rhel-openssl-3.0.x"]
binaryTargets = ["native", "rhel-openssl-3.0.x"]
}
datasource db {
@@ -17,6 +17,7 @@ model User {
providerId String?
avatar String?
flhBalance Int @default(5000)
flhPurchased Int @default(0)
isPro Boolean @default(false)
isPremium Boolean @default(false)
experienceLevel String?