-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
52 lines (49 loc) · 1.08 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
# NOTE: We do not use this so if you do end up needing it you will likely need to debug it
version: "3.7"
services:
stats-api:
build:
context: ${STATS_CONTEXT:-.}
args:
- SERVICE_NAME=api
ports:
- "8000:8000" # API
- "8180:8180" # Health
- "9400:9400" # Prometheus
security_opt:
- "seccomp:unconfined"
cap_add:
- SYS_PTRACE
volumes:
- ${STATS_CONTEXT:-.}/icon_stats:/app
# environment:
stats-streaming:
build:
context: ${STATS_CONTEXT:-.}
args:
- SERVICE_NAME=streaming
command:
- worker
- head
security_opt:
- "seccomp:unconfined"
cap_add:
- SYS_PTRACE
volumes:
- ${STATS_CONTEXT:-.}/icon_stats:/app
environment:
KAFKA_BROKER_URL: "kafka:9092"
stats-cron:
build:
context: ${STATS_CONTEXT:-.}
args:
- SERVICE_NAME=cron
command:
- cron
security_opt:
- "seccomp:unconfined"
cap_add:
- SYS_PTRACE
volumes:
- ${STATS_CONTEXT:-.}/icon_stats:/app
# environment: