-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
84 lines (78 loc) · 2.15 KB
/
docker-compose.yml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
name: manga-reader
services:
server:
build:
context: .
dockerfile: ./Dockerfile
volumes:
- ./logs:/app/logs
environment:
- DB_USER=admin
- DB_PASSWORD=secret
- DB_HOST=database:5432
- DB_NAME=manga_reader
- SELENIUM_HOST=http://selenium-hub:4444/wd/hub
ports:
- "8000:8000"
networks:
- manga-reader
database:
image: postgres:latest
container_name: database
restart: unless-stopped
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=secret
- POSTGRES_DB=manga_reader
volumes:
- ./db:/var/lib/postgresql/data
networks:
- manga-reader
edge-gluttony:
image: selenium/node-edge:latest
restart: unless-stopped
shm_size: 2gb
depends_on:
- selenium-hub
environment:
- SE_EVENT_BUS_HOST=selenium-hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
networks:
- manga-reader
edge-argonaut:
image: selenium/node-edge:latest
restart: unless-stopped
shm_size: 2gb
depends_on:
- selenium-hub
environment:
- SE_EVENT_BUS_HOST=selenium-hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
networks:
- manga-reader
edge-mayhem:
image: selenium/node-edge:latest
restart: unless-stopped
shm_size: 2gb
depends_on:
- selenium-hub
environment:
- SE_EVENT_BUS_HOST=selenium-hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
networks:
- manga-reader
selenium-hub:
image: selenium/hub:latest
container_name: selenium-hub
restart: unless-stopped
environment:
- SE_NODE_SESSION_TIMEOUT=500
networks:
- manga-reader
networks:
manga-reader:
name: manga-reader
driver: bridge