-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·119 lines (110 loc) · 2.63 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
version: "3.3"
services:
mysql:
image: mysql:5.7
container_name: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: pass
networks:
repocheck-net:
ipv4_address: 172.42.0.2
volumes:
- /var/lib/mysql:/var/lib/mysql
mongo:
image: mongo:4.4-bionic
container_name: mongo
restart: always
ports:
- 27017:27017
networks:
repocheck-net:
ipv4_address: 172.42.0.3
volumes:
- /media/mongo/data/db:/data/db
- /media/mongo/data/configbd:/data/configdb
- /media/mongo/backups:/backups
mongo-express:
image: mongo-express:latest
container_name: mongo-express
restart: always
depends_on:
- mongo
environment:
ME_MONGODB_SERVER: mongo
ME_CONFIG_MONGODB_ADMINUSERNAME: admin
ME_CONFIG_MONGODB_ADMINPASSWORD: pass
ports:
- 8081:8081
networks:
repocheck-net:
ipv4_address: 172.42.0.33
rabbitmq:
image: repocheck-rabbitmq:1.0
container_name: rabbitmq
restart: always
ports:
- 15672:15672
networks:
repocheck-net:
ipv4_address: 172.42.0.4
orchestrator:
image: repocheck-orchestrator:1.0
restart: always
depends_on:
- rabbitmq
- mysql
environment:
RMQ_HOST: 172.42.0.4
RMQ_USER: $RMQ_USER
RMQ_PASSWORD: $RMQ_PASSWORD
MYSQL_HOST: 172.42.0.2
MYSQL_USER: $MYSQL_USER
MYSQL_PASSWORD: $MYSQL_PASSWORD
QUEUING_CYCLE_INTERVAL: $QUEUING_CYCLE_INTERVAL
REPO_WATCH_INTERVAL: $REPO_WATCH_INTERVAL
FULL_QUEUE_SIZE: $FULL_QUEUE_SIZE
networks:
- repocheck-net
inspector:
image: repocheck-inspector:1.0
restart: always
depends_on:
- mongo
- mysql
- rabbitmq
environment:
RMQ_HOST: 172.42.0.4
RMQ_USER: $RMQ_USER
RMQ_PASSWORD: $RMQ_PASSWORD
MONGO_HOST: 172.42.0.3
MYSQL_HOST: 172.42.0.2
MYSQL_USER: $MYSQL_USER
MYSQL_PASSWORD: $MYSQL_PASSWORD
INSPECTOR_IDLE_INTERVAL: $INSPECTOR_IDLE_INTERVAL
networks:
- repocheck-net
volumes:
- /home/user/nltk_data:/home/appuser/nltk_data
finder:
image: repocheck-finder:1.0
restart: always
depends_on:
- mysql
environment:
TRENDING_REPO_CHECK_INTERVAL: $TRENDING_REPO_CHECK_INTERVAL
FINDER_CYCLE_INTERVAL: $FINDER_CYCLE_INTERVAL
MYSQL_HOST: 172.42.0.2
MYSQL_USER: $MYSQL_USER
MYSQL_PASSWORD: $MYSQL_PASSWORD
networks:
- repocheck-net
volumes:
- /var/lib/sqlite:/data
networks:
repocheck-net:
driver: bridge
ipam:
config:
- subnet: 172.42.0.0/16