Some checks failed
Dev CI / Unit Tests (${{ matrix.app }}) (backend) (push) Blocked by required conditions
Dev CI / Unit Tests (${{ matrix.app }}) (frontend) (push) Blocked by required conditions
Dev CI / Notify Failure (push) Blocked by required conditions
Dev CI / Quality (${{ matrix.app }}) (backend) (push) Has been cancelled
Dev CI / Quality (${{ matrix.app }}) (frontend) (push) Has been cancelled
Aligns dev with the complete application codebase (cicd branch). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
83 lines
2.5 KiB
Plaintext
83 lines
2.5 KiB
Plaintext
# Xpeditis - Staging Environment Variables
|
|
# Copy this file to .env.staging and fill in the values
|
|
|
|
# ===================================
|
|
# DOCKER REGISTRY
|
|
# ===================================
|
|
DOCKER_REGISTRY=docker.io
|
|
BACKEND_IMAGE=xpeditis/backend
|
|
BACKEND_TAG=staging-latest
|
|
FRONTEND_IMAGE=xpeditis/frontend
|
|
FRONTEND_TAG=staging-latest
|
|
|
|
# ===================================
|
|
# DATABASE (PostgreSQL)
|
|
# ===================================
|
|
POSTGRES_DB=xpeditis_staging
|
|
POSTGRES_USER=xpeditis
|
|
POSTGRES_PASSWORD=CHANGE_ME_SECURE_PASSWORD_HERE
|
|
|
|
# ===================================
|
|
# REDIS CACHE
|
|
# ===================================
|
|
REDIS_PASSWORD=CHANGE_ME_REDIS_PASSWORD_HERE
|
|
|
|
# ===================================
|
|
# JWT AUTHENTICATION
|
|
# ===================================
|
|
JWT_SECRET=CHANGE_ME_JWT_SECRET_256_BITS_MINIMUM
|
|
|
|
# ===================================
|
|
# AWS CONFIGURATION
|
|
# ===================================
|
|
AWS_REGION=eu-west-3
|
|
AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
|
|
AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
|
|
AWS_SES_REGION=eu-west-1
|
|
|
|
# S3 Buckets
|
|
S3_BUCKET_DOCUMENTS=xpeditis-staging-documents
|
|
S3_BUCKET_UPLOADS=xpeditis-staging-uploads
|
|
|
|
# ===================================
|
|
# EMAIL CONFIGURATION
|
|
# ===================================
|
|
EMAIL_SERVICE=ses
|
|
EMAIL_FROM=noreply@staging.xpeditis.com
|
|
EMAIL_FROM_NAME=Xpeditis Staging
|
|
|
|
# ===================================
|
|
# MONITORING (Sentry)
|
|
# ===================================
|
|
SENTRY_DSN=https://your-sentry-dsn@sentry.io/project-id
|
|
NEXT_PUBLIC_SENTRY_DSN=https://your-sentry-dsn@sentry.io/project-id
|
|
|
|
# ===================================
|
|
# ANALYTICS (Google Analytics)
|
|
# ===================================
|
|
NEXT_PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX
|
|
|
|
# ===================================
|
|
# CARRIER APIs (Sandbox)
|
|
# ===================================
|
|
# Maersk Sandbox
|
|
MAERSK_API_URL_SANDBOX=https://sandbox.api.maersk.com
|
|
MAERSK_API_KEY_SANDBOX=your-maersk-sandbox-api-key
|
|
|
|
# MSC Sandbox
|
|
MSC_API_URL_SANDBOX=https://sandbox.msc.com/api
|
|
MSC_API_KEY_SANDBOX=your-msc-sandbox-api-key
|
|
|
|
# CMA CGM Sandbox
|
|
CMA_CGM_API_URL_SANDBOX=https://sandbox.cma-cgm.com/api
|
|
CMA_CGM_API_KEY_SANDBOX=your-cma-cgm-sandbox-api-key
|
|
|
|
# ===================================
|
|
# NOTES
|
|
# ===================================
|
|
# 1. Never commit this file with real credentials
|
|
# 2. Use strong passwords (min 32 characters, random)
|
|
# 3. Rotate secrets regularly (every 90 days)
|
|
# 4. Use AWS Secrets Manager or similar for production
|
|
# 5. Enable MFA on all AWS accounts
|