Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' of github.com:kekayann/gwen
Browse files Browse the repository at this point in the history
  • Loading branch information
kekayann committed Oct 9, 2023
2 parents 8c5df54 + 738b983 commit 9564588
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 44 deletions.
4 changes: 2 additions & 2 deletions gwen/browsers/selenoid.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ gwen {
web {
capabilities {
"selenoid:options" {
enableVNC = true
enableVideo = true
enableVNC = false
enableVideo = false
}
}
remote {
Expand Down
85 changes: 43 additions & 42 deletions gwen/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ services:
image: selenoid/chrome:latest
networks:
- gwen-net
edge:
image: browsers/edge:latest
networks:
- gwen-net
firefox:
image: selenoid/firefox:latest
networks:
- gwen-net
video-recorder:
image: selenoid/video-recorder:latest-release
networks:
- gwen-net
# edge:
# image: browsers/edge:latest
# networks:
# - gwen-net
# firefox:
# image: selenoid/firefox:latest
# networks:
# - gwen-net
# video-recorder:
# image: selenoid/video-recorder:latest-release
# networks:
# - gwen-net
selenoid:
image: aerokube/selenoid:latest-release
networks:
Expand All @@ -25,26 +25,27 @@ services:
volumes:
- "$PWD/gwen/browsers:/etc/selenoid/:ro"
- "/var/run/docker.sock:/var/run/docker.sock"
- "$PWD/gwen/output/.video:/opt/selenoid/video"
environment:
- OVERRIDE_VIDEO_OUTPUT_DIR=$PWD/gwen/output/.video
command: ["-container-network", "gwen-net", "-video-output-dir", "/opt/selenoid/video"]
selenoid-ui:
depends_on:
- selenoid
- $GWEN_BROWSER
image: aerokube/selenoid-ui:latest
environment:
- GWEN_BROWSER
networks:
- gwen-net
ports:
- "8999:8999"
command: ["--selenoid-uri", "http://selenoid:4444", "--listen", ":8999"]
# - "$PWD/gwen/output/.video:/opt/selenoid/video"
# environment:
# - OVERRIDE_VIDEO_OUTPUT_DIR=$PWD/gwen/output/.video
# command: ["-container-network", "gwen-net", "-video-output-dir", "/opt/selenoid/video"]
command: ["-container-network", "gwen-net"]
# selenoid-ui:
# depends_on:
# - selenoid
# - $GWEN_BROWSER
# image: aerokube/selenoid-ui:latest
# environment:
# - GWEN_BROWSER
# networks:
# - gwen-net
# ports:
# - "8999:8999"
# command: ["--selenoid-uri", "http://selenoid:4444", "--listen", ":8999"]
gwen:
depends_on:
- selenoid
- video-recorder
# - video-recorder
- $GWEN_BROWSER
build:
context: .
Expand All @@ -58,25 +59,25 @@ services:
- GWEN_PARALLEL
- GWEN_THREADS
- GWEN_HEADLESS
- GWEN_VIDEO
# - GWEN_VIDEO
volumes:
- "$PWD:/project"
working_dir: /project
command: bash -c "yarn install && yarn gwen -b -c gwen/browsers/selenoid.conf gwen/features"
networks:
- gwen-net
gwen-dry-run:
build:
context: .
dockerfile: Dockerfile
environment:
- NO_COLOR
volumes:
- "$PWD:/project"
working_dir: /project
command: bash -c "yarn install && yarn gwen -bn --parallel gwen/features"
networks:
- gwen-net
# gwen-dry-run:
# build:
# context: .
# dockerfile: Dockerfile
# environment:
# - NO_COLOR
# volumes:
# - "$PWD:/project"
# working_dir: /project
# command: bash -c "yarn install && yarn gwen -bn --parallel gwen/features"
# networks:
# - gwen-net
networks:
gwen-net:
name: gwen-net

0 comments on commit 9564588

Please # to comment.