-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.changeme
133 lines (127 loc) · 3.14 KB
/
docker-compose.yml.changeme
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
version: "3"
services:
arangodb:
hostname: arangodb
image: arangodb:latest
container_name: arangodb
environment:
- ARANGO_ROOT_PASSWORD=changeme
ports:
- 127.0.0.1:8529:8529
volumes:
- ./data/arangodb_data:/var/lib/arangodb3
- ./data/arangodb_apps:/var/lib/arangodb3-apps
rabbitmq:
hostname: rabbitmq
image: rabbitmq:latest
container_name: rabbitmq
environment:
- RABBITMQ_DEFAULT_USER=changeme
- RABBITMQ_DEFAULT_PASS=changeme
volumes:
- ./rabbitmq/myrabbit.conf:/etc/rabbitmq/rabbitmq.conf
redis:
hostname: redis
image: redis:latest
container_name: redis
classic-producer:
hostname: classic-producer
build: ./classic-producer
container_name: classic-producer
environment:
- RABBITMQ_HOST=rabbitmq
- RABBITMQ_PORT=5672
- RABBITMQ_USER=changeme
- RABBITMQ_PASS=changeme
- REDIS_HOST=redis
- REDIS_PORT=6379
- DB_HOST=arangodb
- DB_PORT=8529
- DB_NAME=changeme
- DB_USER=changeme
- DB_PASS=changeme
- CHUNK_SIZE=15
- SEARCHTWEETS_ENDPOINT=changeme
- SEARCHTWEETS_BEARER_TOKEN=changeme
- SEARCHTWEETS_CONSUMER_KEY=changeme
- SEARCHTWEETS_CONSUMER_SECRET=changeme
- QUEUE=changeme
depends_on:
- rabbitmq
- redis
- classic-scraper
- arangodb
classic-scraper:
hostname: classic-scraper
build: ./classic-scraper
shm_size: '2gb'
environment:
- RABBITMQ_HOST=rabbitmq
- RABBITMQ_PORT=5672
- RABBITMQ_USER=changeme
- RABBITMQ_PASS=changeme
- REDIS_HOST=redis
- REDIS_PORT=6379
- CONCURRENCY=2
- LOGLEVEL=info
- QUEUE=changeme
- CLIENT_ID=changeme
- CLIENT_SECRET=changeme
- PROJECT_ID=changeme
- TOKEN=changeme
- REFRESH_TOKEN=changeme
- GDRIVE_PARENT_DIR=changeme
depends_on:
- rabbitmq
- redis
scale: 2
infrared-producer:
hostname: infrared-producer
build: ./infrared-producer
container_name: infrared-producer
environment:
- RABBITMQ_HOST=rabbitmq
- RABBITMQ_PORT=5672
- RABBITMQ_USER=changeme
- RABBITMQ_PASS=changeme
- REDIS_HOST=redis
- REDIS_PORT=6379
- DB_HOST=arangodb
- DB_PORT=8529
- DB_NAME=changeme
- DB_USER=changeme
- DB_PASS=changeme
- QUEUE=changeme
depends_on:
- rabbitmq
- redis
- infrared-scraper
- arangodb
infrared-scraper:
hostname: infrared-scraper
build: ./infrared-scraper
environment:
- RABBITMQ_HOST=rabbitmq
- RABBITMQ_PORT=5672
- RABBITMQ_USER=changeme
- RABBITMQ_PASS=changeme
- REDIS_HOST=redis
- REDIS_PORT=6379
- CONCURRENCY=5
- LOGLEVEL=info
- QUEUE=changeme
- DB_HOST=arangodb
- DB_PORT=8529
- DB_NAME=changeme
- DB_USER=changeme
- DB_PASS=changeme
- CLIENT_ID=changeme
- CLIENT_SECRET=changeme
- PROJECT_ID=changeme
- TOKEN=changeme
- REFRESH_TOKEN=changeme
- GDRIVE_PARENT_DIR=changeme
depends_on:
- rabbitmq
- redis
scale: 2