randomayzer/.env.example

21 lines
903 B
Text

# PostgreSQL Database Connection
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/randomayzer?schema=public"
# Token Vault Encryption Key (Strictly required in production, min 32 chars / 256 bits)
# Generate with: openssl rand -hex 32
TOKEN_ENCRYPTION_KEY="your_32_bytes_cryptographically_secure_token_encryption_key_here"
# Application Session / Auth Secret
# Generate with: openssl rand -hex 32
AUTH_SECRET="your_cryptographically_secure_auth_session_secret_here"
# VK ID / VK API Configuration (OAuth 2.1 & Service Access)
VK_APP_ID="your_vk_app_id_here"
VK_CLIENT_SECRET="your_vk_client_secret_here"
VK_SERVICE_TOKEN="your_vk_service_token_here"
VK_REDIRECT_URI="http://localhost:3000/api/auth/vk/callback"
# App Configuration
NEXT_PUBLIC_APP_URL="http://localhost:3000"
NODE_ENV="development"
STORAGE_DRIVER="memory" # Use "prisma" for production PostgreSQL, "memory" for unit tests