Files
doormile_backend/.env.example

51 lines
1.5 KiB
Plaintext

# App Config
APP_PORT=8081
ENV=development
JWT_SECRET_KEY=DoormileSuperSecretJWTKey2026!
INTERNAL_API_KEY=doormile-internal-2024
# Reverse proxy — comma-separated IPs/CIDRs allowed to set X-Forwarded-For.
# Rate limiting keys on the client IP, so if this service sits behind nginx or
# any TLS terminator this MUST list that proxy; otherwise every request looks
# like it came from the proxy and all clients share one rate-limit bucket.
# Leave empty only when the app is exposed directly.
# TRUSTED_PROXIES=127.0.0.1,10.0.0.0/8
# PostgreSQL Database Configuration
DB_HOST=31.97.228.132
DB_PORT=5433
DB_NAME=logistics
DB_USER=admin
DB_PASSWORD=Package@321#
# Redis Configuration
REDIS_HOST=31.97.228.132
REDIS_PORT=6379
REDIS_USER=admin
REDIS_PASSWORD=Package@321#
# Customer-app sign-in (QA only).
#
# A fixed verification code accepted for every identifier, standing in for a
# real SMS gateway. Commented out by default: leaving it set is a skeleton key.
#
# StagingCode() refuses it when ENV=production and logs an error -- so on a
# production deployment setting this does nothing and only says so in the log.
# CX_STAGING_OTP=1234
# SMTP Configuration (email OTP verification)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=465
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-16-char-app-password
SMTP_FROM=your-email@gmail.com
$env:PATH += ";C:\Program Files\Docker\Docker\resources\bin"
>>
>> docker build -t doormile/doormile-backend:latest .
>> docker push doormile/doormile-backend:latest
>>