This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user