2026-05-03 20:15:39 +03:30
|
|
|
# Copy to backend.staging.env — DATABASE_URL must match database.staging.env credentials.
|
|
|
|
|
NODE_ENV=production
|
|
|
|
|
PORT=3000
|
|
|
|
|
|
|
|
|
|
DATABASE_URL=postgresql://postgres:changeme_staging_strong_password@postgres:5432/dyolink_db
|
|
|
|
|
|
|
|
|
|
JWT_SECRET=replace_with_a_long_random_secret
|
|
|
|
|
JWT_EXPIRES_IN=15m
|
|
|
|
|
JWT_REFRESH_SECRET=another_long_random_secret_different_from_JWT_SECRET
|
|
|
|
|
JWT_REFRESH_EXPIRES_IN=30d
|
|
|
|
|
|
2026-05-16 22:40:42 +03:30
|
|
|
# CORS, cookies, and invite links — must match how users open the app (nginx host port)
|
2026-05-03 20:15:39 +03:30
|
|
|
FRONTEND_URL=http://178.131.50.201:8088
|
2026-07-07 15:32:25 +03:30
|
|
|
|
|
|
|
|
# SMS (sms.ir)
|
|
|
|
|
SMS_IR_API_KEY=CHANGE_ME_SMS_IR_API_KEY
|
|
|
|
|
SMS_IR_TEMPLATE_ID=123456
|