change mounted volumes

This commit is contained in:
Jakobus Schürz 2023-04-24 23:30:09 +02:00
parent 5c77cdd34c
commit 0df23941d7

View file

@ -15,15 +15,13 @@ services:
- WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client. - 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. - RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min.
- TZ=Europa/Vienna # Time Zone - 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 # you need to copy rtc_config_example.json to rtc_config.json and specify domain, IP address, user and password
coturn_server: coturn_server:
image: "coturn/coturn" image: "coturn/coturn"
restart: always restart: always
network_mode: "host" network_mode: "host"
volumes: volumes:
- ./turnserver.conf:/etc/coturn/turnserver.conf - ./turnserver.conf:/etc/coturn/turnserver.conf
- ./letsencrypt/:/etc/letsencrypt/ - ./ssl/:/etc/coturn/ssl/
- ./dhparams.pem:/etc/dhparam.pem # you need to copy turnserver_example.conf to turnserver.conf and specify domain, IP address, user and password
#you need to copy turnserver_example.conf to turnserver.conf and specify domain, IP address, user and password # create dhparams.pem with `openssl dhparam -out ssl/dhparams.pem 4096` it takes a very long time!!!
# create dhparams.pem with `openssl dhparam -out dhparams.pem 4096` it
# takes a very long time!!!