@@ -76,18 +76,20 @@ Blaze is sponsored by:
7676Following environment variables can be set in the build process:
7777
7878
79- | variable | description | default |
80- | ----------------------| -----------------------------------------------------------------------| ---------------------------------|
81- | ** client** | Variables for ** client** should be set as build args if using Docker. | |
82- | ` WS_HOST ` | URL to the server that is running the Blaze WebSockets server. | 'ws://\< your-local-ip\> :3030' |
83- | ` SERVER_HOST ` | URL to the server that running the Blaze HTTP server. | 'http://\< your-local-ip\> :3030' |
84- | ` WS_SIZE_LIMIT ` | Max file size limit when transferring files over WebSockets in bytes. | 100000000 (100 MBs) |
85- | ` TORRENT_SIZE_LIMIT ` | Max file size limit when transferring files over WebTorrent in bytes. | 700000000 (700 MBs) |
86- | ** server** | | |
87- | ` ORIGIN ` | Array of string URLs to allow CORS. | * |
88- | ` PORT ` | Port for the server to run. | 3030 |
89- | ` WS_SIZE_LIMIT ` | Max file size limit when transferring files over WebSockets in bytes. | 100000000 (100 MBs) |
90- ----------------------------------------------------------------------------------------------------------------------------------
79+ | variable | description | default |
80+ | ----------------------| -----------------------------------------------------------------------| ---------------------------------------------------|
81+ | ** client** | Variables for ** client** should be set as build args if using Docker. | |
82+ | ` WS_HOST ` | URL to the server that is running the Blaze WebSockets server. | 'ws://\< your-local-ip\> :3030' |
83+ | ` SERVER_HOST ` | URL to the server that running the Blaze HTTP server. | 'http://\< your-local-ip\> :3030' |
84+ | ` WS_SIZE_LIMIT ` | Max file size limit when transferring files over WebSockets in bytes. | 100000000 (100 MBs) |
85+ | ` TORRENT_SIZE_LIMIT ` | Max file size limit when transferring files over WebTorrent in bytes. | 700000000 (700 MBs) |
86+ | ** server** | | |
87+ | ` ORIGIN ` | Array of string URLs to allow CORS. | * |
88+ | ` PORT ` | Port for the server to run. | 3030 |
89+ | ` WS_SIZE_LIMIT ` | Max file size limit when transferring files over WebSockets in bytes. | 100000000 (100 MBs) |
90+ | ` DISABLE_SSE_EVENTS ` | Disable server side events to reduce long-lived connections. | false |
91+ | ` TRUST_PROXY ` | Whether server is behind a trusted proxy and can read forwarded IPs. | _ false_ when standalone, _ true_ in docker-compose |
92+ ----------------------------------------------------------------------------------------------------------------------------------------------------
9193
9294** NOTE:** Any URL in the environment variables should not end with ` / ` .
9395
0 commit comments