fix(config): add .env.production and default DB fallbacks to database.config.cjs for production startup

This commit is contained in:
Inamul-hasan-tec
2026-08-10 17:55:42 +05:30
parent 012af1b349
commit 98163512d8
2 changed files with 24 additions and 5 deletions
+19
View File
@@ -0,0 +1,19 @@
PORT=5002
NODE_ENV=production
CORS_ORIGIN=http://localhost:5173
JWT_SECRET=supersecretjwtkeythatislongandsecure
JWT_REFRESH_SECRET=supersecretrefreshjwtkeythatislongandsecure
JWT_EXPIRES_IN=1d
JWT_REFRESH_EXPIRES_IN=7d
CLOUDINARY_CLOUD_NAME=dbixmka2j
CLOUDINARY_API_KEY=634582295238882
CLOUDINARY_API_SECRET=0TAXlH3JHVvBHiqTMCwiDd9qfmM
CLOUDINARY_URL=cloudinary://634582295238882:0TAXlH3JHVvBHiqTMCwiDd9qfmM@dbixmka2j
DB_HOST=106.51.105.22
DB_PORT=5432
DB_NAME=pc_local
DB_USER=pc_user
DB_PASSWORD="#TpW@%a&b$[zm"
DB_DIALECT=postgres