From 182de67f3da351db299389d0debc4a66e4f5384f Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sat, 29 Mar 2025 01:10:09 +0100 Subject: [PATCH] [mirotalksfu] - lint --- .env.template | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/.env.template b/.env.template index c7784fc5..27527da6 100644 --- a/.env.template +++ b/.env.template @@ -1,6 +1,6 @@ -# ======================================================== +# ==================================================== # MiroTalk SFU - Environment Configuration -# ======================================================== +# ==================================================== # config.js - Main configuration with: # - All default values and documentation @@ -22,8 +22,7 @@ # - Keep DEFAULT values in config.js # - Keep SECRETS/ENV-SPECIFIC in .env # - Add .env to .gitignore -# ============================================== - +# ==================================================== # ---------------------------------------------------- # 1. Core System Configuration @@ -35,7 +34,7 @@ SFU_LISTEN_IP=0.0.0.0 # IP address to bind to SFU_MIN_PORT=40000 # Minimum WebRTC port range SFU_MAX_PORT=40100 # Maximum WebRTC port range SFU_NUM_WORKERS= # Number of worker processes (defaults to CPU count) -SFU_SERVER=false # Enable/disable WebRTC server (true|false) +SFU_SERVER=false # Enable/disable WebRTC server (true|false) # ---------------------------------------------------- # 2. Server Configuration @@ -59,9 +58,9 @@ RECORDING_ENDPOINT= # Recording service endpoint e # Rtmp streaming RTMP_ENABLED=true # Enable RTMP streaming (true|false) -RTMP_FROM_FILE=true # Enable local file streaming -RTMP_FROM_URL=true # Enable URL streaming -RTMP_FROM_STREAM=true # Enable live stream (camera, microphone, screen, window) +RTMP_FROM_FILE=true # Enable local file streaming +RTMP_FROM_URL=true # Enable URL streaming +RTMP_FROM_STREAM=true # Enable live stream (camera, microphone, screen, window) RTMP_MAX_STREAMS=1 # Max simultaneous RTMP streams RTMP_SERVER=rtmp://localhost:1935 # RTMP server URL RTMP_APP_NAME=mirotalk # RTMP application name @@ -107,7 +106,7 @@ ROOM_EXISTS_ENDPOINT=http://localhost:9000/api/v1/room/exists # Room exists endp DEFAULT_USERNAME=username # Default admin username DEFAULT_PASSWORD=password # Default admin password DEFAULT_DISPLAY_NAME=username display name # Default display name -DEFAULT_ALLOWED_ROOMS=* # Default allowed rooms all or room1,room2... (comma-separated) +DEFAULT_ALLOWED_ROOMS=* # Default allowed rooms all or room1,room2... (comma-separated) # Presenters PRESENTERS=Miroslav Pejic,miroslav.pejic.85@gmail.com, # Presenter usernames (comma-separated) @@ -126,7 +125,7 @@ API_ALLOW_STATS=true # Enable stats API (true|false # ChatGPT Integration CHATGPT_ENABLED=false # Enable ChatGPT integration (true|false) -CHATGPT_BASE_PATH=https://api.openai.com/v1/ # OpenAI base path +CHATGPT_BASE_PATH=https://api.openai.com/v1/ # OpenAI base path CHATGPT_API_KEY= # OpenAI API key CHATGPT_MODEL=gpt-3.5-turbo # Model to use (gpt-3.5-turbo, gpt-4, etc.) CHATGPT_MAX_TOKENS=1000 # Max response tokens @@ -152,16 +151,16 @@ SLACK_SIGNING_SECRET= # Slack app signing secret # Mattermost Integration MATTERMOST_ENABLED=false # Enable Mattermost (true|false) MATTERMOST_SERVER_URL=YourMattermostServerUrl # Mattermost server URL -MATTERMOST_USERNAME=YourMattermostUsername # Mattermost username -MATTERMOST_PASSWORD=YourMattermostPassword # Mattermost password +MATTERMOST_USERNAME=YourMattermostUsername # Mattermost username +MATTERMOST_PASSWORD=YourMattermostPassword # Mattermost password MATTERMOST_TOKEN=YourMattermostToken # Mattermost slash command token -MATTERMOST_COMMAND_NAME=/sfu # Mattermost command name -MATTERMOST_DEFAULT_MESSAGE=Here is your meeting room: # Mattermost default message +MATTERMOST_COMMAND_NAME=/sfu # Mattermost command name +MATTERMOST_DEFAULT_MESSAGE=Here is your meeting room: # Mattermost default message # Discord Integration DISCORD_ENABLED=false # Enable Discord bot (true|false) DISCORD_TOKEN= # Discord bot token -DISCORD_COMMAND_NAME=/sfu # Discord command name +DISCORD_COMMAND_NAME=/sfu # Discord command name DISCORD_DEFAULT_MESSAGE=Here is your SFU meeting room: # Discord default message DISCORD_BASE_URL=https://sfu.mirotalk.com/join/ # Discord Base URL for meeting rooms @@ -317,7 +316,7 @@ SHOW_WB_LOCK=true # Show whiteboard lock button # ---------------------------------------------------- SURVEY_ENABLED=false # Enable post-call survey (true|false) -SURVEY_URL= # Survey URL +SURVEY_URL= # Survey URL # Redirect REDIRECT_ENABLED=false # Enable post-call redirect (true|false)