-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (59 loc) · 1.1 KB
/
docker-compose.yml
File metadata and controls
61 lines (59 loc) · 1.1 KB
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
56
57
58
59
60
61
version: "3"
services:
web:
container_name: web
build: ./client
restart: always
command: ["serve", "-s", "dist"]
ports:
- "5000:5000"
api:
container_name: api
build: .
restart: always
command: Backend/setup.sh
ports:
- "3000:3000"
depends_on:
- "web"
- "mongo"
links:
- mongo
- hub
- chrome
mongo:
container_name: mongo
image: mongo
ports:
- "27017:27017"
volumes:
- db-data:/data/db
hub:
container_name: hub
image: selenium/hub
ports:
- "4444:4444"
environment:
GRID_MAX_SESSION: 16
GRID_BROWSER_TIMEOUT: 3000
GRID_TIMEOUT: 3000
chrome:
image: selenium/node-chrome-debug
container_name: chrome
depends_on:
- hub
environment:
HUB_PORT_4444_TCP_ADDR: hub
HUB_PORT_4444_TCP_PORT: 4444
NODE_MAX_SESSION: 4
NODE_MAX_INSTANCES: 4
volumes:
- /dev/shm:/dev/shm
- "./storage/browser/profiles:/home/twai/profiles"
ports:
- "9001:5900"
links:
- hub
volumes:
db-data:
driver: local