forked from zabbix/zabbix-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose_additional_components.yaml
55 lines (53 loc) · 1.17 KB
/
compose_additional_components.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
services:
selenium:
image: "${WEBDRIVER_IMAGE}:${WEBDRIVER_IMAGE_TAG}"
profiles:
- selenium
- selenium-chrome
- selenium-firefox
networks:
tools_frontend:
aliases:
- webdriver
- selenium-hub
- selenium
selenium-chrome:
image: "${WEBDRIVER_CHROME_IMAGE}:${WEBDRIVER_CHROME_IMAGE_TAG}"
restart: "${RESTART_POLICY}"
attach: false
scale: 2
depends_on:
- selenium
profiles:
- selenium
- selenium-chrome
shm_size: "2gb"
env_file:
- path: ${ENV_VARS_DIRECTORY}/.env_selenium_chrome
required: false
environment:
- SE_EVENT_BUS_HOST=selenium
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
networks:
tools_frontend:
selenium-firefox:
image: "${WEBDRIVER_FIREFOX_IMAGE}:${WEBDRIVER_FIREFOX_IMAGE_TAG}"
restart: "${RESTART_POLICY}"
attach: false
scale: 2
depends_on:
- selenium
profiles:
- selenium
- selenium-firefox
shm_size: "2gb"
env_file:
- path: ${ENV_VARS_DIRECTORY}/.env_selenium_firefox
required: false
environment:
- SE_EVENT_BUS_HOST=selenium
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
networks:
tools_frontend: