Skip to content

Commit

Permalink
use fixed ports for bbn
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 committed Oct 25, 2024
1 parent ceb218e commit d2d9e49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions container/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,9 @@ func (m *Manager) RunBabylondResource(
},
func(config *docker.HostConfig) {
config.PortBindings = map[docker.Port][]docker.PortBinding{
"9090/tcp": {{HostIP: "", HostPort: strconv.Itoa(AllocateUniquePort())}},
"26657/tcp": {{HostIP: "", HostPort: strconv.Itoa(AllocateUniquePort())}},
"9090/tcp": {{HostIP: "", HostPort: "9090"}},
"26657/tcp": {{HostIP: "", HostPort: "26657"}},
"8080/tcp": {{HostIP: "", HostPort: "8080"}},
}
},
noRestart,
Expand Down

0 comments on commit d2d9e49

Please sign in to comment.