16 lines
409 B
Plaintext
16 lines
409 B
Plaintext
# Socket Broker Environment Configuration
|
|
# Copy this file to .env and update the values
|
|
|
|
# WebSocket server port
|
|
WS_PORT=3000
|
|
|
|
# HTTP API server port
|
|
API_PORT=8080
|
|
|
|
# API Key for authentication (REQUIRED for production)
|
|
# This key must be provided in HTTP requests to publish messages
|
|
# Generate a strong, random key for production use
|
|
API_KEY=your-secure-api-key-here
|
|
|
|
# Node environment
|
|
NODE_ENV=production |