Skip to content

Commit 7259656

Browse files
author
Egor Gorbunov
committed
disable selenoid2
1 parent 7097c9c commit 7259656

File tree

2 files changed

+27
-23
lines changed

2 files changed

+27
-23
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
- Запуск тестов возможен из Jenkins'а
88
- Запуск тестов возможен из чата в telegram (через shellbot)
99
- <img alt="MarineGEO circle logo" src="./infra/docs/screenshots/tg.png"/>
10+
- Поднимать окружение на локали лучше через скрипт командой:
11+
```bash
12+
cd infra && ./restart.sh
13+
```
1014

1115
#### Может пригодиться:
1216
- [Локальный запуск окружения вручную](infra/docs/create_docker_run.md)

infra/docker-compose.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
- ./video:/opt/selenoid/video
2222
- ./logs:/opt/selenoid/logs
2323
environment:
24-
- OVERRIDE_VIDEO_OUTPUT_DIR=./video
24+
- OVERRIDE_VIDEO_OUTPUT_DIR=$PWD/video
2525
- TZ=Asia/Yekaterinburg
2626
command: [
2727
"-conf", "/etc/selenoid/browsers.json",
@@ -33,28 +33,28 @@ services:
3333
"-container-network", "selenoid"
3434
]
3535

36-
selenoid2:
37-
image: "aerokube/selenoid:1.11.2"
38-
container_name: selenoid2
39-
networks:
40-
selenoid2: null
41-
ports:
42-
- "4446:4444"
43-
volumes:
44-
- ./etc/browsers.json:/etc/selenoid/browsers.json
45-
- /var/run/docker.sock:/var/run/docker.sock
46-
- ./video:/opt/selenoid/video
47-
- ./logs:/opt/selenoid/logs
48-
environment:
49-
- OVERRIDE_VIDEO_OUTPUT_DIR=./video
50-
- TZ=Asia/Yekaterinburg
51-
command: [
52-
"-conf", "/etc/selenoid/browsers.json",
53-
"-limit", "4", "-cpu", "0.7", "-mem", "1024m",
54-
"-log-output-dir", "/opt/selenoid/logs",
55-
"-video-output-dir", "/opt/selenoid/video",
56-
"-container-network", "selenoid2"
57-
]
36+
# selenoid2:
37+
# image: "aerokube/selenoid:1.11.2"
38+
# container_name: selenoid2
39+
# networks:
40+
# selenoid2: null
41+
# ports:
42+
# - "4446:4444"
43+
# volumes:
44+
# - ./etc/browsers.json:/etc/selenoid/browsers.json
45+
# - /var/run/docker.sock:/var/run/docker.sock
46+
# - ./video:/opt/selenoid/video
47+
# - ./logs:/opt/selenoid/logs
48+
# environment:
49+
# - OVERRIDE_VIDEO_OUTPUT_DIR=./video
50+
# - TZ=Asia/Yekaterinburg
51+
# command: [
52+
# "-conf", "/etc/selenoid/browsers.json",
53+
# "-limit", "4", "-cpu", "0.7", "-mem", "1024m",
54+
# "-log-output-dir", "/opt/selenoid/logs",
55+
# "-video-output-dir", "/opt/selenoid/video",
56+
# "-container-network", "selenoid2"
57+
# ]
5858

5959
selenoid-ui:
6060
image: "aerokube/selenoid-ui:1.10.11"

0 commit comments

Comments
 (0)