kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
ac439dd950
commit
c97bc9dcb1
|
@ -39,6 +39,12 @@ Web UI is accessible at http://SERVERIP:PORT. It is strongly recommended to run
|
|||
|
||||
Most proxies will set this header automatically but may require additional configuration if you are using something like Cloudflare Proxy.
|
||||
|
||||
### Custom STUN/TURN Servers
|
||||
|
||||
To specify custom STUN/TURN servers for PairDrop clients to use, create a JSON config file in a mounted path and use the RTC_CONFIG environment variable to point to it.
|
||||
|
||||
You can use https://raw.githubusercontent.com/schlagmichdoch/PairDrop/master/rtc_config_example.json as a starting point.
|
||||
|
||||
### Note on Websocket fallback
|
||||
|
||||
Enabling WS_FALLBACK provides a fallback if the peer to peer WebRTC connection is not available to the client.
|
||||
|
@ -66,6 +72,7 @@ services:
|
|||
- TZ=Etc/UTC
|
||||
- RATE_LIMIT=false #optional
|
||||
- WS_FALLBACK=false #optional
|
||||
- RTC_CONFIG= #optional
|
||||
ports:
|
||||
- 3000:3000
|
||||
restart: unless-stopped
|
||||
|
@ -81,6 +88,7 @@ docker run -d \
|
|||
-e TZ=Etc/UTC \
|
||||
-e RATE_LIMIT=false `#optional` \
|
||||
-e WS_FALLBACK=false `#optional` \
|
||||
-e RTC_CONFIG= `#optional` \
|
||||
-p 3000:3000 \
|
||||
--restart unless-stopped \
|
||||
lscr.io/linuxserver/pairdrop:latest
|
||||
|
@ -106,6 +114,7 @@ Docker images are configured using parameters passed at runtime (such as those a
|
|||
| `TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
||||
| `RATE_LIMIT=false` | Set to `true` to limit clients to 100 requests per 5 min |
|
||||
| `WS_FALLBACK=false` | Set to `true` to enable websocket fallback if the peer to peer WebRTC connection is not available to the client (see App Setup notes). |
|
||||
| `RTC_CONFIG=` | Path to a json file containing custom STUN/TURN config (see App Setup notes) |
|
||||
|
||||
### Volume Mappings (`-v`)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue