Skip to content

Commit

Permalink
Network Mode host no compatible ports binding
Browse files Browse the repository at this point in the history
  • Loading branch information
Scot3004 committed Jun 22, 2024
1 parent 301570f commit d41add5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/testing/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"forwardPorts": [4444, 5000, 7900],
"remoteEnv": {
"TEST_COMMAND_EXECUTOR": "http://localhost:4444/wd/hub"
"TEST_COMMAND_EXECUTOR": "http://localhost:4444/wd/hub",
"PYTEST_BASE_URL": "http://localhost:5000"
},
"customizations": {
"codespaces": {
Expand Down
4 changes: 0 additions & 4 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@ services:
browser:
image: selenium/standalone-${TEST_BROWSER:-chrome}
shm_size: '2gb'
ports:
- 4444:4444 # Selenium service
- 5900:5900 # VNC server
- 7900:7900 # VNC browser client
network_mode: "host"

0 comments on commit d41add5

Please sign in to comment.