2023-04-19 17:38:14 +02:00
|
|
|
version: "3"
|
|
|
|
services:
|
2023-10-28 02:17:59 +02:00
|
|
|
pairdrop:
|
|
|
|
image: "lscr.io/linuxserver/pairdrop:latest"
|
|
|
|
container_name: pairdrop
|
2023-04-19 17:38:14 +02:00
|
|
|
restart: unless-stopped
|
2023-10-28 04:23:59 +02:00
|
|
|
volumes:
|
|
|
|
- ./rtc_config.json:/home/node/app/rtc_config.json
|
2023-10-28 02:17:59 +02:00
|
|
|
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.
|
2023-10-28 04:23:59 +02:00
|
|
|
- RTC_CONFIG=/home/node/app/rtc_config.json # Set to the path of a file that specifies the STUN/TURN servers.
|
2023-10-28 02:17:59 +02:00
|
|
|
- DEBUG_MODE=false # Set to true to debug container and peer connections.
|
|
|
|
- TZ=Etc/UTC # Time Zone
|
2023-04-19 17:38:14 +02:00
|
|
|
ports:
|
2023-10-28 02:17:59 +02:00
|
|
|
- "127.0.0.1:3000:3000" # Web UI. Change the port number before the last colon e.g. `127.0.0.1:9000:3000`
|
2023-04-19 17:38:14 +02:00
|
|
|
coturn_server:
|
|
|
|
image: "coturn/coturn"
|
2023-10-28 04:23:59 +02:00
|
|
|
restart: unless-stopped
|
2023-04-19 17:38:14 +02:00
|
|
|
volumes:
|
|
|
|
- ./turnserver.conf:/etc/coturn/turnserver.conf
|
2023-10-28 04:23:59 +02:00
|
|
|
- ./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
|