|
@@ -12,7 +12,7 @@ services:
|
|
|
- sqldata:/root/data
|
|
|
environment:
|
|
|
# config-dependant vars
|
|
|
- - STUN_SERVERS=stun.${NM_DOMAIN}:3478,stun1.l.google.com:19302,stun2.l.google.com:19302,stun3.l.google.com:19302,stun4.l.google.com:19302
|
|
|
+ - STUN_SERVERS=stun1.l.google.com:19302,stun2.l.google.com:19302,stun3.l.google.com:19302,stun4.l.google.com:19302
|
|
|
# The domain/host IP indicating the mq broker address
|
|
|
- BROKER_ENDPOINT=wss://broker.${NM_DOMAIN} # For EMQX broker use `BROKER_ENDPOINT=wss://broker.${NM_DOMAIN}/mqtt`
|
|
|
# For EMQX broker (uncomment the two lines below)
|
|
@@ -39,14 +39,6 @@ services:
|
|
|
links:
|
|
|
- "netmaker:api"
|
|
|
restart: always
|
|
|
- stun:
|
|
|
- container_name: stun
|
|
|
- image: coturn/coturn
|
|
|
- restart: always
|
|
|
- ports:
|
|
|
- - "3478:3478/udp" # STUN UDP
|
|
|
- environment:
|
|
|
- - LISTENING_PORT=3478
|
|
|
|
|
|
caddy:
|
|
|
image: caddy:2.8.4
|