Files
homelab-docker/tools/pairdrop/docker-compose.yml

24 lines
943 B
YAML

services:
pairdrop:
container_name: pairdrop
image: ghcr.io/linuxserver/pairdrop:latest
security_opt:
- no-new-privileges:false
- seccomp:unconfined
healthcheck:
test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/3000' || exit 1
interval: 10s
timeout: 5s
retries: 3
start_period: 90s
environment:
RATE_LIMIT: false #Set to true instead of false to limit clients to 100 requests per 5 min.
WS_FALLBACK: false #Set to true instead of false to enable websocket fallback if the peer to peer WebRTC connection is not available to the client.
RTC_CONFIG: #Path to a json file containing custom STUN/TURN config.
DEBUG_MODE: false #Set to true instead of false to debug the http server configuration by logging clients IP addresses used by PairDrop to STDOUT.
TZ: Europe/Berlin
PUID: 1000
PGID: 100
ports:
- 3432:3000
restart: on-failure:5