33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
# =============================================================================
|
|
# RWA Backend Services - Environment Configuration Template
|
|
# =============================================================================
|
|
# Copy this file to .env and fill in the values
|
|
# WARNING: Never commit .env to version control!
|
|
# =============================================================================
|
|
|
|
# PostgreSQL Database
|
|
POSTGRES_USER=rwa_user
|
|
POSTGRES_PASSWORD=your_secure_password_here
|
|
|
|
# Redis (leave empty for no password)
|
|
REDIS_PASSWORD=
|
|
|
|
# JWT Configuration (generate with: openssl rand -base64 32)
|
|
JWT_SECRET=your_jwt_secret_here
|
|
|
|
# Service-to-Service Authentication
|
|
SERVICE_JWT_SECRET=your_service_jwt_secret_here
|
|
|
|
# Wallet Encryption Salt
|
|
WALLET_ENCRYPTION_SALT=your_wallet_salt_here
|
|
|
|
# Backup Encryption Key (256-bit hex: openssl rand -hex 32)
|
|
BACKUP_ENCRYPTION_KEY=your_64_char_hex_key_here
|
|
|
|
# MPC Share Master Key (256-bit hex: openssl rand -hex 32)
|
|
SHARE_MASTER_KEY=your_64_char_hex_key_here
|
|
|
|
# MPC System Address (running on 192.168.1.100)
|
|
MPC_COORDINATOR_URL=http://192.168.1.100:8081
|
|
MPC_MESSAGE_ROUTER_URL=ws://192.168.1.100:8082
|