87 lines
1.9 KiB
Plaintext
87 lines
1.9 KiB
Plaintext
# Application
|
|
NODE_ENV=development
|
|
PORT=4000
|
|
API_PREFIX=api/v1
|
|
|
|
# Database
|
|
DATABASE_HOST=localhost
|
|
DATABASE_PORT=5432
|
|
DATABASE_USER=xpeditis
|
|
DATABASE_PASSWORD=xpeditis_dev_password
|
|
DATABASE_NAME=xpeditis_dev
|
|
DATABASE_SYNC=false
|
|
DATABASE_LOGGING=true
|
|
|
|
# Redis
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=xpeditis_redis_password
|
|
REDIS_DB=0
|
|
|
|
# JWT
|
|
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
|
|
JWT_ACCESS_EXPIRATION=15m
|
|
JWT_REFRESH_EXPIRATION=7d
|
|
|
|
# OAuth2 - Google
|
|
GOOGLE_CLIENT_ID=your-google-client-id
|
|
GOOGLE_CLIENT_SECRET=your-google-client-secret
|
|
GOOGLE_CALLBACK_URL=http://localhost:4000/api/v1/auth/google/callback
|
|
|
|
# OAuth2 - Microsoft
|
|
MICROSOFT_CLIENT_ID=your-microsoft-client-id
|
|
MICROSOFT_CLIENT_SECRET=your-microsoft-client-secret
|
|
MICROSOFT_CALLBACK_URL=http://localhost:4000/api/v1/auth/microsoft/callback
|
|
|
|
# Application URL
|
|
APP_URL=http://localhost:3000
|
|
|
|
# Email (SMTP)
|
|
SMTP_HOST=smtp.sendgrid.net
|
|
SMTP_PORT=587
|
|
SMTP_SECURE=false
|
|
SMTP_USER=apikey
|
|
SMTP_PASS=your-sendgrid-api-key
|
|
SMTP_FROM=noreply@xpeditis.com
|
|
|
|
# AWS S3 / Storage (or MinIO for development)
|
|
AWS_ACCESS_KEY_ID=your-aws-access-key
|
|
AWS_SECRET_ACCESS_KEY=your-aws-secret-key
|
|
AWS_REGION=us-east-1
|
|
AWS_S3_ENDPOINT=http://localhost:9000
|
|
# AWS_S3_ENDPOINT= # Leave empty for AWS S3
|
|
|
|
# Carrier APIs
|
|
# Maersk
|
|
MAERSK_API_KEY=your-maersk-api-key
|
|
MAERSK_API_URL=https://api.maersk.com/v1
|
|
|
|
# MSC
|
|
MSC_API_KEY=your-msc-api-key
|
|
MSC_API_URL=https://api.msc.com/v1
|
|
|
|
# CMA CGM
|
|
CMACGM_API_URL=https://api.cma-cgm.com/v1
|
|
CMACGM_CLIENT_ID=your-cmacgm-client-id
|
|
CMACGM_CLIENT_SECRET=your-cmacgm-client-secret
|
|
|
|
# Hapag-Lloyd
|
|
HAPAG_API_URL=https://api.hapag-lloyd.com/v1
|
|
HAPAG_API_KEY=your-hapag-api-key
|
|
|
|
# ONE (Ocean Network Express)
|
|
ONE_API_URL=https://api.one-line.com/v1
|
|
ONE_USERNAME=your-one-username
|
|
ONE_PASSWORD=your-one-password
|
|
|
|
# Security
|
|
BCRYPT_ROUNDS=12
|
|
SESSION_TIMEOUT_MS=7200000
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_TTL=60
|
|
RATE_LIMIT_MAX=100
|
|
|
|
# Monitoring
|
|
SENTRY_DSN=your-sentry-dsn
|