The server can be configured using environment variables. You can either set them directly
in your environment or use a .env
file.
STUN_SERVER
: IP address of the STUN serverSTUN_PORT
: Port for STUN server (default: 3478)TURN_SERVER
: IP address of the TURN serverTURN_PORT
: Port for TURN server (default: 3478)TURN_USERNAME
: Username for TURN authenticationTURN_PASSWORD
: Password for TURN authenticationWS_PORT
: WebSocket port for signaling (default: 8080)
RECORDING_PATH
: Path to store recordingsSIP_ENABLED
: Enable SIP integration (true/false)SIP_BIND_ADDRESS
: SIP server bind addressSIP_PORT
: SIP server portSIP_DOMAIN
: SIP domainSIP_REALM
: SIP realm
For development, copy config.env.example
to .env
and modify as needed: