-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.yml
59 lines (54 loc) · 1.32 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
services:
agent-server:
image: my-eidolon-project:latest
build:
context: .
dockerfile: Dockerfile
develop:
watch:
- path: ./components
action: rebuild
- path: ./pyproject.toml
action: rebuild
ports:
- "8080:8080"
environment:
- PYTHONPATH=/local_mount
volumes:
- ./:/local_mount
- eidolon_data:/data/eidolon/files
command: /local_mount/resources/ -m sample-machine --reload --fail-on-bad-agent true --watch /local_mount/components --dotenv /local_mount/.env
depends_on:
- mongo
- chromadb
webui:
image: eidolonai/webui:latest
environment:
- NEXTAUTH_SECRET=secret
- EIDOLON_SERVER=http://agent-server:8080
- EIDOLON_APP_REGISTRY_LOC=/app/apps/eidolon-ui2/eidolon-apps-override.json
volumes:
- ./webui.apps.json:/app/apps/eidolon-ui2/eidolon-apps-override.json
ports:
- "3000:3000"
depends_on:
- agent-server
mongo:
image: mongo
command:
- --dbpath
- /data/db
- --logpath
- /dev/null
volumes:
- mongodb_data:/data/db
chromadb:
image: chromadb/chroma
environment:
- CHROME_USER_DATA_DIR=/chromadb/data
volumes:
- chromadb_data:/chromadb/data
volumes:
mongodb_data:
eidolon_data:
chromadb_data: