mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-23 00:06:18 -04:00

- enable TURN over TLS - modified the .gitignore to ignore files with user-data - should fix #105 - partly cherry-picked from #106 Co-authored-by: xundeenergie <xundeenergie@users.noreply.github.com>
31 lines
No EOL
1.3 KiB
YAML
31 lines
No EOL
1.3 KiB
YAML
version: "3"
|
|
services:
|
|
pairdrop:
|
|
image: "lscr.io/linuxserver/pairdrop:latest"
|
|
container_name: pairdrop
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./rtc_config.json:/home/node/app/rtc_config.json
|
|
environment:
|
|
- PUID=1000 # UID to run the application as
|
|
- PGID=1000 # GID to run the application as
|
|
- WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client.
|
|
- RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min.
|
|
- RTC_CONFIG=/home/node/app/rtc_config.json # Set to the path of a file that specifies the STUN/TURN servers.
|
|
- DEBUG_MODE=false # Set to true to debug container and peer connections.
|
|
- TZ=Etc/UTC # Time Zone
|
|
ports:
|
|
- "127.0.0.1:3000:3000" # Web UI. Change the port number before the last colon e.g. `127.0.0.1:9000:3000`
|
|
coturn_server:
|
|
image: "coturn/coturn"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./turnserver.conf:/etc/coturn/turnserver.conf
|
|
- ./ssl/:/etc/coturn/ssl/
|
|
ports:
|
|
- "3478:3478"
|
|
- "3478:3478/udp"
|
|
- "5349:5349"
|
|
- "5349:5349/udp"
|
|
- "10000-20000:10000-20000/udp"
|
|
# see guide at docs/host-your-own.md#coturn-and-pairdrop-via-docker-compose |