diff --git a/pairdrop/docker-compose.yml b/pairdrop/docker-compose.yml new file mode 100644 index 0000000..d01834d --- /dev/null +++ b/pairdrop/docker-compose.yml @@ -0,0 +1,24 @@ +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 \ No newline at end of file