Prerequisites
- Docker and Docker Compose v2 (
docker compose, bundled with Docker Desktop and modern Docker Engine).
Steps
1
Download the compose file
2
Start the stack
3
Open the app
Open http://localhost:3000 in your browser. Open the same URL in a second tab (or on another device on the same network), start a transfer in one tab, and join with the room code in the other.
What this runs
This starts the stack in STUN-only mode. Direct peer-to-peer connections are used, which work on most home and mobile networks. No files pass through the server. To support peers behind strict firewalls, symmetric NAT, or CGNAT, add a TURN relay.The defaults assume the browser and the server are on the same machine. To reach the app from another device on your network, set both of these in No rebuild: the client reads its server address at runtime.
.env to your machine’s LAN IP:CLIENT_URL matters as much as the socket URL, because it is the origin the server’s CORS check allows, and without it the browser is blocked even though the page loads.