Skip to content

Commit

Permalink
expose right porsts
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
  • Loading branch information
kradalby committed Oct 7, 2022
1 parent 735c464 commit 185180a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions integration_general_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@ func (s *IntegrationTestSuite) tailscaleContainer(
Cmd: []string{
"tailscaled", "--tun=tsdev",
},
ExposedPorts: []string{"8080/tcp"},
PortBindings: map[docker.Port][]docker.PortBinding{
"8080/tcp": {{HostPort: "8080"}},
},
}

err := s.pool.RemoveContainerByName(hostname)
Expand Down Expand Up @@ -255,6 +251,10 @@ func (s *IntegrationTestSuite) SetupSuite() {
Mounts: []string{
fmt.Sprintf("%s/integration_test/etc:/etc/headscale", currentPath),
},
ExposedPorts: []string{"8080/tcp"},
PortBindings: map[docker.Port][]docker.PortBinding{
"8080/tcp": {{HostPort: "8080"}},
},
Networks: []*dockertest.Network{&s.network},
Cmd: []string{"headscale", "serve"},
}
Expand Down

0 comments on commit 185180a

Please sign in to comment.