69 lines
3.2 KiB
Text
69 lines
3.2 KiB
Text
# Nxtgauge Backend — Environment Variables
|
|
# Copy this file to .env and fill in the 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) ──────────────────────────────────────────────────
|
|
SMTP_HOST=smtp.zeptomail.in
|
|
SMTP_PORT=587
|
|
SMTP_USER=emailapikey
|
|
SMTP_PASS=replace-with-your-smtp-password
|
|
SMTP_FROM_EMAIL=support@nxtgauge.com
|
|
SMTP_FROM_NAME=NXTGAUGE
|
|
|
|
# ── 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=http://localhost:3000
|
|
|
|
# ── Service Ports (local development, for running services individually) ──────
|
|
GATEWAY_PORT=8000
|
|
USERS_PORT=8080
|
|
COMPANIES_PORT=8081
|
|
JOB_SEEKERS_PORT=8082
|
|
CUSTOMERS_PORT=8083
|
|
PHOTOGRAPHERS_PORT=8085
|
|
MAKEUP_ARTISTS_PORT=8086
|
|
TUTORS_PORT=8087
|
|
DEVELOPERS_PORT=8088
|
|
VIDEO_EDITORS_PORT=8089
|
|
GRAPHIC_DESIGNERS_PORT=8090
|
|
SOCIAL_MEDIA_MANAGERS_PORT=8091
|
|
FITNESS_TRAINERS_PORT=8092
|
|
CATERING_SERVICES_PORT=8093
|
|
PAYMENTS_PORT=8094
|
|
|
|
# ── Service URLs (used by gateway — override only for non-Docker dev) ─────────
|
|
USERS_SERVICE_URL=http://localhost:8080
|
|
COMPANIES_SERVICE_URL=http://localhost:8081
|
|
JOB_SEEKERS_SERVICE_URL=http://localhost:8082
|
|
CUSTOMERS_SERVICE_URL=http://localhost:8083
|
|
PHOTOGRAPHERS_SERVICE_URL=http://localhost:8085
|
|
MAKEUP_ARTISTS_SERVICE_URL=http://localhost:8086
|
|
TUTORS_SERVICE_URL=http://localhost:8087
|
|
DEVELOPERS_SERVICE_URL=http://localhost:8088
|
|
VIDEO_EDITORS_SERVICE_URL=http://localhost:8089
|
|
GRAPHIC_DESIGNERS_SERVICE_URL=http://localhost:8090
|
|
SOCIAL_MEDIA_MANAGERS_SERVICE_URL=http://localhost:8091
|
|
FITNESS_TRAINERS_SERVICE_URL=http://localhost:8092
|
|
CATERING_SERVICES_SERVICE_URL=http://localhost:8093
|
|
PAYMENTS_SERVICE_URL=http://localhost:8094
|