-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
56 lines (51 loc) · 1.42 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
version: '3'
services:
requirement-classifier:
image: ciccio86/req-classifier
ports:
- '9402:9402'
- '9403:9403'
- '8080:8080'
integration-service:
image: ciccio86/is
command: python app.py
ports:
- '5000:5000'
environment:
- GITHUB_PERSONAL_ACCESS_TOKEN=
- GITHUB_APP_ID=35262
- GITHUB_CLIENT_ID=Iv1.02a46aba7f40e24d
- GITHUB_CLIENT_SECRET=61b6630bacf1e9b801deb3143322919f63637fb5
- GITHUB_WEBHOOK_SECRET=5da226f312c132fd92280a3e81cad0adede50224
- OPENREQ_BASEURL=http://requirement-classifier:9402
- CELERY_BROKER_URL=redis://redis:6379/0
- GITHUB_LIMIT_REQUEST=True
volumes:
- tmp_vol:/tmp/integration-service
depends_on:
- worker
worker:
image: ciccio86/is
command: celery worker -A app:celery --loglevel=debug
volumes:
- tmp_vol:/tmp/integration-service
environment:
- GITHUB_PERSONAL_ACCESS_TOKEN=
- GITHUB_APP_ID=35262
- GITHUB_CLIENT_ID=Iv1.02a46aba7f40e24d
- GITHUB_CLIENT_SECRET=61b6630bacf1e9b801deb3143322919f63637fb5
- GITHUB_WEBHOOK_SECRET=5da226f312c132fd92280a3e81cad0adede50224
- OPENREQ_BASEURL=http://requirement-classifier:9402
- CELERY_BROKER_URL=redis://redis:6379/0
- GITHUB_LIMIT_REQUEST=True
depends_on:
- redis
redis:
image: redis
ports:
- '6379:6379'
volumes:
tmp_vol:
driver_opts:
type: tmpfs
device: tmpfs