Skip to content

Commit

Permalink
Clean up docker compose config and adapt for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
faergeek committed Jan 27, 2023
1 parent 6635297 commit 867fcd3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
5 changes: 4 additions & 1 deletion docker-compose.arm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version: '3'
services:
chrome:
image: seleniarm/standalone-chromium
image: seleniarm/node-chromium
platform: linux/arm64/v8
hub:
image: seleniarm/hub
platform: linux/arm64/v8
13 changes: 7 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,29 @@ services:
platform: linux/amd64
ports:
- '6869:6869'
selenium-hub:
image: selenium/hub:latest
container_name: selenium-hub
hub:
image: selenium/hub
platform: linux/amd64
ports:
- '4442:4442'
- '4443:4443'
- '4444:4444'
healthcheck:
test: curl --fail http://localhost:4444/wd/hub/status
interval: 3s
retries: 10
chrome:
image: selenium/node-chrome:latest
image: selenium/node-chrome
shm_size: 2gb
depends_on:
- selenium-hub
- hub
ports:
- '5900:5900'
- '7900:7900'
volumes:
- .:/app:ro
environment:
- SE_EVENT_BUS_HOST=selenium-hub
- SE_EVENT_BUS_HOST=hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
chrome-video:
Expand Down

0 comments on commit 867fcd3

Please sign in to comment.