Use UDP dial to find default address for outbound traffic.

Set default bindAddr if it has not been explicitly provided be the user.
This commit is contained in:
Kelvin Clement Mwinuka
2023-07-29 01:33:33 +08:00
parent 67d8f9f047
commit d82a6a98d7
5 changed files with 33 additions and 9 deletions

View File

@@ -11,7 +11,6 @@ services:
context: .
dockerfile: ./server/Dockerfile
environment:
- BINDADDR=0.0.0.0
- PORT=7480
- RAFTPORT=8000
- MLPORT=7946
@@ -31,7 +30,6 @@ services:
context: .
dockerfile: ./server/Dockerfile
environment:
- BINDADDR=0.0.0.0
- PORT=7480
- RAFTPORT=8000
- MLPORT=7946
@@ -52,7 +50,6 @@ services:
context: .
dockerfile: ./server/Dockerfile
environment:
- BINDADDR=0.0.0.0
- PORT=7480
- RAFTPORT=8000
- MLPORT=7946