-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (62 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
version: "3.3"
services:
redis:
image: redis
container_name: redis
ports:
- 6379:6379
rabbitmq:
image: rabbitmq:management
container_name: rabbitmq
environment:
- RABBITMQ_DEFAULT_USER=user
- RABBITMQ_DEFAULT_PASS=passwd
ports:
- 15672:15672
- 5672:5672
database:
image: polyse/database
container_name: database
environment:
- LOG_LEVEL=debug
ports:
- 9000:9000
listener:
image: docker.pkg.github.com/polyse/web-scraper/listener
container_name: listener
restart: always
environment:
- RABBITMQ_URI=amqp://user:passwd@rabbitmq:5672
- SERVER=http://database:9000
- LOG_LEVEL=debug
- NUM_DOC=20
depends_on:
- database
- rabbitmq
scrapper:
image: docker.pkg.github.com/polyse/web-scraper/daemon
container_name: scrapper
restart: always
environment:
- RABBITMQ_URI=amqp://user:passwd@rabbitmq:5672
- LOG_LEVEL=debug
- LISTEN=0.0.0.0:7171
- RATE_LIMIT=10
- REDIS_ADDR=redis:6379
ports:
- 7171:7171
depends_on:
- database
front:
image: docker.pkg.github.com/polyse/frontend-service/front
container_name: front
restart: always
environment:
- LOG_LEVEL=debug
- LISTEN=0.0.0.0:9900
- DB=http://database:9000
- DBCollection=default
ports:
- 9900:9900
depends_on:
- database