mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-04 04:04:17 +08:00
Revert "add stun to server stack (#3312)"
This reverts commit 39006debba
.
This commit is contained in:
parent
64bc351564
commit
7b6e544cdc
2 changed files with 1 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -32,7 +32,3 @@ broker.{$NM_DOMAIN} {
|
|||
}
|
||||
reverse_proxy @ws mq:8883 # For EMQX websockets use `reverse_proxy @ws mq:8083`
|
||||
}
|
||||
|
||||
https://stun.{$NM_DOMAIN} {
|
||||
reverse_proxy stun:3478
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue