-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (49 loc) · 1.21 KB
/
Copy pathdocker-compose.yml
File metadata and controls
53 lines (49 loc) · 1.21 KB
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
version: '3.8'
services:
# Bot de Slack (servicio principal)
slack-bot:
build:
context: .
dockerfile: .devcontainer/Dockerfile
volumes:
- .:/workspace
- chroma-data:/workspace/data/chroma
env_file:
- .env
environment:
- CHROMA_PERSIST_DIR=/workspace/data/chroma
command: python -m detector.bot.example_app
restart: unless-stopped
# Indexador de Slack (correr manualmente o con cron)
indexer-slack:
build:
context: .
dockerfile: .devcontainer/Dockerfile
volumes:
- .:/workspace
- chroma-data:/workspace/data/chroma
env_file:
- .env
environment:
- CHROMA_PERSIST_DIR=/workspace/data/chroma
command: python -m detector.indexer.cli index
profiles:
- indexer
# Indexador de Redmine (correr manualmente)
indexer-redmine:
build:
context: .
dockerfile: .devcontainer/Dockerfile
volumes:
- .:/workspace
- chroma-data:/workspace/data/chroma
env_file:
- .env
environment:
- CHROMA_PERSIST_DIR=/workspace/data/chroma
command: python -m detector.indexer.cli index-redmine
profiles:
- indexer
volumes:
chroma-data:
name: detector-chroma-data