-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal.docker-compose.yaml
63 lines (56 loc) · 1.46 KB
/
local.docker-compose.yaml
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.8'
services:
api:
image: piotrgramacki/sma-backend:0.16
ports:
- 4000:80
env_file:
- env_files/twitter_credentials.env
- env_files/celery.env
environment:
- MAX_WORKERS=1
volumes:
- ./backend_service/app/:/app/
tweets-worker:
image: piotrgramacki/sma-celery:tweets
command: [celery, --app=tweets.app, worker, --loglevel=DEBUG, -Q, tweets]
env_file:
- env_files/celery.env
environment:
- TWEETS_LIMIT=500
depends_on:
- redis
volumes:
- ./celery_service/app:/app/
embedding-worker:
image: piotrgramacki/sma-celery:processing
command: [celery, --app=embedding.app, worker, --pool=solo, --loglevel=DEBUG, -Q, embedding]
env_file:
- env_files/celery.env
depends_on:
- redis
volumes:
- ./celery_service/app:/app/
processing-worker:
image: piotrgramacki/sma-celery:processing
command: [celery, --app=processing.app, worker, --loglevel=DEBUG, -Q, processing]
env_file:
- env_files/celery.env
depends_on:
- redis
volumes:
- ./celery_service/app:/app/
cleaning-worker:
image: piotrgramacki/sma-celery:processing
command: [celery, --app=cleaning.app, worker, --loglevel=DEBUG, -Q, cleaning]
env_file:
- env_files/celery.env
depends_on:
- redis
- krnnt
volumes:
- ./celery_service/app:/app/
krnnt:
image: djstrong/krnnt:1.0.0
redis:
image: redis:6.0.10