80 lines
3.8 KiB
Text
80 lines
3.8 KiB
Text
|
|
# Nxtgauge Backend — Environment Variables for test111.nxtgauge.com
|
||
|
|
# Copy this file to .env and fill in the actual values.
|
||
|
|
|
||
|
|
# ── Database ─────────────────────────────────────────────────────────────────
|
||
|
|
POSTGRES_PASSWORD=nxtgauge_dev
|
||
|
|
DATABASE_URL=postgresql://nxtgauge:nxtgauge_dev@localhost:5432/nxtgauge_db
|
||
|
|
|
||
|
|
# ── Auth ──────────────────────────────────────────────────────────────────────
|
||
|
|
# Generate with: openssl rand -base64 64
|
||
|
|
JWT_SECRET=change-me-to-a-secure-random-string-of-at-least-64-chars
|
||
|
|
JWT_EXPIRY_MINUTES=15
|
||
|
|
REFRESH_TOKEN_EXPIRY_DAYS=30
|
||
|
|
|
||
|
|
# ── SMTP (ZeptoMail/Zoho) ──────────────────────────────────────────────────
|
||
|
|
# These are the ZeptoMail configuration values for sending emails
|
||
|
|
# Username is always "emailapikey" for ZeptoMail SMTP
|
||
|
|
# Password is your ZeptoMail API key
|
||
|
|
EMAIL_PROVIDER=SMTP
|
||
|
|
SMTP_HOST=smtp.zeptomail.in
|
||
|
|
SMTP_PORT=587
|
||
|
|
SMTP_USER=emailapikey
|
||
|
|
SMTP_PASS=PHtE6r1ZR+zi3jV88RNW4/O4F8CkPdksqO9iJAhA4YcTD6dQFk1S+dl/wDC3/h97AKYWFfSczo1rt72etOuDLTnrMjlEDWqyqK3sx/VYSPOZsbq6x00esVgYdEfYVYDpcNFj3SPQut7dNA==
|
||
|
|
SMTP_FROM_EMAIL=support@nxtgauge.com
|
||
|
|
SMTP_FROM_NAME=NXTGAUGE
|
||
|
|
SMTP_SECURE=true
|
||
|
|
SMTP_REPLY_TO=support@nxtgauge.com
|
||
|
|
|
||
|
|
# ── Demo Account Emails (comma-separated) ───────────────────────────────────
|
||
|
|
# These emails bypass email verification (for testing)
|
||
|
|
DEMO_ACCOUNT_EMAILS=test@example.com,demo@nxtgauge.com
|
||
|
|
|
||
|
|
# ── Object Storage (Backblaze B2 S3-Compatible) ─────────────────────────────
|
||
|
|
B2_BUCKET_NAME=Nxtgauge-object
|
||
|
|
B2_REGION=eu-central-003
|
||
|
|
B2_ENDPOINT=https://s3.eu-central-003.backblazeb2.com
|
||
|
|
B2_ACCESS_KEY_ID=replace-with-b2-key-id
|
||
|
|
B2_SECRET_ACCESS_KEY=replace-with-b2-secret
|
||
|
|
B2_USE_PATH_STYLE=true
|
||
|
|
|
||
|
|
# ── Payments ──────────────────────────────────────────────────────────────────
|
||
|
|
RAZORPAY_KEY_ID=rzp_test_...
|
||
|
|
RAZORPAY_KEY_SECRET=...
|
||
|
|
|
||
|
|
# ── Frontend ──────────────────────────────────────────────────────────────────
|
||
|
|
FRONTEND_URL=https://test111.nxtgauge.com
|
||
|
|
ADMIN_URL=https://admin.test111.nxtgauge.com
|
||
|
|
|
||
|
|
# ── Service Ports (local development, for running services individually) ──────
|
||
|
|
GATEWAY_PORT=9100
|
||
|
|
USERS_PORT=9101
|
||
|
|
COMPANIES_PORT=9102
|
||
|
|
JOB_SEEKERS_PORT=9104
|
||
|
|
CUSTOMERS_PORT=9105
|
||
|
|
PHOTOGRAPHERS_PORT=9107
|
||
|
|
MAKEUP_ARTISTS_PORT=9109
|
||
|
|
TUTORS_PORT=9108
|
||
|
|
DEVELOPERS_PORT=9110
|
||
|
|
VIDEO_EDITORS_PORT=9111
|
||
|
|
GRAPHIC_DESIGNERS_PORT=9112
|
||
|
|
SOCIAL_MEDIA_MANAGERS_PORT=9113
|
||
|
|
FITNESS_TRAINERS_PORT=9114
|
||
|
|
CATERING_SERVICES_PORT=9115
|
||
|
|
PAYMENTS_PORT=9116
|
||
|
|
|
||
|
|
# ── Service URLs (used by gateway — override only for non-Docker dev) ─────────
|
||
|
|
USERS_SERVICE_URL=http://localhost:9101
|
||
|
|
COMPANIES_SERVICE_URL=http://localhost:9102
|
||
|
|
JOB_SEEKERS_SERVICE_URL=http://localhost:9104
|
||
|
|
CUSTOMERS_SERVICE_URL=http://localhost:9105
|
||
|
|
PHOTOGRAPHERS_SERVICE_URL=http://localhost:9107
|
||
|
|
MAKEUP_ARTISTS_SERVICE_URL=http://localhost:9109
|
||
|
|
TUTORS_SERVICE_URL=http://localhost:9108
|
||
|
|
DEVELOPERS_SERVICE_URL=http://localhost:9110
|
||
|
|
VIDEO_EDITORS_SERVICE_URL=http://localhost:9111
|
||
|
|
GRAPHIC_DESIGNERS_SERVICE_URL=http://localhost:9112
|
||
|
|
SOCIAL_MEDIA_MANAGERS_SERVICE_URL=http://localhost:9113
|
||
|
|
FITNESS_TRAINERS_SERVICE_URL=http://localhost:9114
|
||
|
|
CATERING_SERVICES_SERVICE_URL=http://localhost:9115
|
||
|
|
PAYMENTS_SERVICE_URL=http://localhost:9116
|