-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
83 lines (77 loc) · 2.16 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
version: '3'
services:
clickhouse:
image: yandex/clickhouse-server
deploy:
resources:
limits:
cpus: 1
memory: 500M
container_name: clickhouse
ports:
- "8123:8123"
- "9000:9000"
environment:
- CLICKHOUSE_DB=messages
- CLICKHOUSE_USER=clickhouse-user
- CLICKHOUSE_PASSWORD=secret
tn-message-collector:
image: message_collector:1.0.0
deploy:
resources:
limits:
cpus: "0.05"
memory: 100M
container_name: tn-message-collector
depends_on:
- clickhouse
command: python __main__.py --clickhouse_host=clickhouse --clickhouse_port=8123 --clickhouse_username=clickhouse-user --clickhouse_password=secret --video-id=HPiv1pzIPRc --stream_name=TN
restart: unless-stopped
c5n-message-collector:
image: message_collector:1.0.0
deploy:
resources:
limits:
cpus: "0.05"
memory: 100M
container_name: c5n-message-collector
depends_on:
- clickhouse
command: python __main__.py --clickhouse_host=clickhouse --clickhouse_port=8123 --clickhouse_username=clickhouse-user --clickhouse_password=secret --video-id=39RJ2lb2irE --stream_name=C5N
restart: unless-stopped
a24-message-collector:
image: message_collector:1.0.0
deploy:
resources:
limits:
cpus: "0.05"
memory: 100M
container_name: a24-message-collector
depends_on:
- clickhouse
command: python __main__.py --clickhouse_host=clickhouse --clickhouse_port=8123 --clickhouse_username=clickhouse-user --clickhouse_password=secret --video-id=QGpHLgRnrx4 --stream_name=A24
restart: unless-stopped
jupyterlab:
image: amalic/jupyterlab
deploy:
resources:
limits:
cpus: 2
memory: 1G
container_name: jupyterlab
ports:
- "8888:8888"
environment:
- PASSWORD=secret
sentiment:
build:
context: ./src/models/sentiment
container_name: sentiment
restart: unless-stopped
embedding:
build:
context: ./src/models/embedding
container_name: embedding
restart: unless-stopped
ports:
- "5000:5000"