forked from mohsensaremi/google-rank-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (61 loc) · 1.41 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
version: '3'
services:
mongo:
image: mongo:4.4
restart: on-failure
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
volumes:
- './.docker/mongo/data/db:/data/db'
mongo-express:
image: mongo-express:0.54
restart: on-failure
depends_on:
- mongo
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: root
rabbitmq:
image: "rabbitmq:3-management"
restart: on-failure
ports:
- 5672:5672
- 15672:15672
hub:
image: selenium/hub:4.0.0-rc-1-prerelease-20210713
container_name: hub
chrome:
image: selenium/node-chrome:4.0.0-rc-1-prerelease-20210713
depends_on:
- hub
environment:
SE_EVENT_BUS_HOST: hub
SE_EVENT_BUS_PUBLISH_PORT: 4442
SE_EVENT_BUS_SUBSCRIBE_PORT: 4443
backend:
image: mohsensaremi/google-rank-tracker-backend:latest
depends_on:
- mongo
- rabbitmq
- chrome
restart: on-failure
ports:
- 3001:3001
environment:
TZ: "Asia/Tehran"
APP_PORT: 3001
DB_HOST: mongo
DB_PORT: 27017
DB_NAME: google-rank-tracker
DB_USER: root
DB_PASS: root
MQ_HOST: rabbitmq
SELENIUM_HUB_HOST: hub
frontend:
image: mohsensaremi/google-rank-tracker-frontend:latest
ports:
- 3000:80
restart: on-failure