mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-23 16:26:17 -04:00
fix TURN/STURN
* remove docker-compose-coturn.yml and replace it with and example-file, because there are user-data inside, which should not be on git * add a whole rtc_config_example-coturn.json to be copied to rtc_config.json and only the domain <DOMAIN> should be changed. * modified the documentation * modified the .gitignore to ignore the files with user-data
This commit is contained in:
parent
8f4ce63a0c
commit
61b52609bc
7 changed files with 76 additions and 21 deletions
|
@ -397,9 +397,26 @@ Now point your browser to `http://localhost:8080`.
|
|||
- To stop the containers run `docker-compose stop`.
|
||||
- To debug the NodeJS server run `docker logs pairdrop_node_1`.
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
# Coturn
|
||||
## docker-compose
|
||||
|
||||
- copy `docker-compose-coturn_example.yml` to `docker-compose-coturn.yml`
|
||||
- copy `rtc_config_example-coturn.json` to `rtc_config.json`
|
||||
- copy `turnserver_example.conf` to `turnserver.conf`
|
||||
- change <DOMAIN> in all three files to the domain, where your pairdrop is running
|
||||
- change user and password for turn-server in `turnserver.conf` and `rtc-config.json`
|
||||
- To start the container including coturn run `docker-compose -f docker-compose-coturn.yml up -d`
|
||||
- To restart the container including coturn run `docker-compose -f docker-compose-coturn.yml restart`
|
||||
- To stop the container including coturn run `docker-compose -f docker-compose-coturn.yml stop`
|
||||
|
||||
## Firewall
|
||||
To run PairDrop including its own coturn-server you need to punch holes in the firewall. This ports must be opened additionally:
|
||||
- 3478 tcp/udp
|
||||
- 5349 tcp/udp
|
||||
- 10000:20000 tcp/udp
|
||||
|
||||
## Testing PWA related features
|
||||
PWAs require that the app is served under a correctly set up and trusted TLS endpoint.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue