-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (47 loc) · 1.01 KB
/
Copy pathdocker-compose.yml
File metadata and controls
50 lines (47 loc) · 1.01 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
version: "3.8"
services:
selenium:
container_name: browser
image: "selenium/standalone-chrome"
shm_size: "500mb"
restart: on-failure
deploy:
resources:
limits:
cpus: '0.5'
memory: 1000M
environment:
VNC_NO_PASSWORD: 1
SE_NODE_SESSION_TIMEOUT: 999999999
networks:
- web
# Production view, uncomment port, set debugMode, go to http://localhost:4444/ui/#/sessions in Chrome
# ports:
# - "4444:4444"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4444/wd/hub/status"]
interval: 10s
timeout: 5s
retries: 10
instabiobot:
container_name: instabiobot
read_only: true
build: .
env_file: .env
restart: on-failure
deploy:
resources:
limits:
cpus: '0.5'
memory: 1000M
links:
- "selenium:selenium"
depends_on:
- selenium
networks:
- web
volumes:
- ./config.yml:/config.yml
networks:
web:
name: instabiobot_web