mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-29 19:19:14 -04:00
use again docker-compose-coturn.yml
i found a way, to not use personal data
This commit is contained in:
parent
61b52609bc
commit
ec928b2be0
1 changed files with 1 additions and 1 deletions
27
docker-compose-coturn.yml
Normal file
27
docker-compose-coturn.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
version: "3"
|
||||
services:
|
||||
node:
|
||||
image: "node:lts-alpine"
|
||||
user: "node"
|
||||
working_dir: /home/node/app
|
||||
volumes:
|
||||
- ./:/home/node/app
|
||||
command: ash -c "npm i && npm run start:prod"
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- RTC_CONFIG=/home/node/app/rtc_config.json
|
||||
- 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.
|
||||
- TZ=Europa/Vienna # Time Zone
|
||||
#you need to copy rtc_config_example.json to rtc_config.json and specify domain, IP address, user and password
|
||||
coturn_server:
|
||||
image: "coturn/coturn"
|
||||
restart: always
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- ./turnserver.conf:/etc/coturn/turnserver.conf
|
||||
- ./logs/:/var/log/
|
||||
- ./letsencrypt/:/etc/letsencrypt/
|
||||
#you need to copy turnserver_example.conf to turnserver.conf and specify domain, IP address, user and password
|
Loading…
Add table
Add a link
Reference in a new issue