Document production deploy gotchas for SMS, Postgres, and shared symlink.
Capture real server lessons so future updates avoid DATABASE_URL, tarball, and nginx traps. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7,8 +7,8 @@ CORS_ORIGIN=https://crm.montzar.ir
|
||||
JWT_SECRET=change-me-long-random-production-secret
|
||||
JWT_EXPIRES_IN=7d
|
||||
|
||||
# Postgres روی همین سرور — دیتابیس جدا برای CRM (به DB مونتایم دست نزنید)
|
||||
DATABASE_URL="postgresql://mento:CHANGE_ME@127.0.0.1:5432/mento_crm?schema=public"
|
||||
# Postgres روی همین سرور — پورت واقعی این هاست معمولاً 15432 است (نه 5432)
|
||||
DATABASE_URL="postgresql://mento:CHANGE_ME@127.0.0.1:15432/mento_crm?schema=public"
|
||||
|
||||
UPLOAD_DIR=/var/www/crm/uploads
|
||||
|
||||
|
||||
Reference in New Issue
Block a user