-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
39 lines (36 loc) · 973 Bytes
/
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
version: '3'
#this is ony for the daily report creation, to run the hourly reindexing, use run_hourly_reindexing.sh
#this docker compose should only be run appropiately 15 minutes
services:
LLM-server:
build:
context: .
dockerfile: /components/daily-reports/model-inference/flask-inference/Dockerfile
ports:
- "5000:5000"
volumes:
- /data:/data
env_file:
- .env
log-compressor:
build:
context: .
dockerfile: /components/hourly-reindexing/compress-logs-for-opensearch/Dockerfile
volumes:
- /data:/data
env_file:
- .env
command: python3 /app/src/logs-compress.py --day $(date -d "yesterday" +"%d")
daily-reporter:
build:
context: .
dockerfile: /components/daily-reports/data-export/create-daily-report/Dockerfile
ports:
- "5000:5000"
volumes:
- /data:/data
env_file:
- .env
depends_on:
- LLM-server
- log-compressor