-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
146 lines (140 loc) · 3.22 KB
/
docker-compose.yml
File metadata and controls
146 lines (140 loc) · 3.22 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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
services:
agentlens:
image: pazgaz/agentlens:latest
# build:
# context: ../agentlens
# dockerfile: Dockerfile
container_name: agentlens
ports:
- "3000:3000"
environment:
- PORT=3000
- NODE_ENV=production
- AUTH_DISABLED=true
- DB_PATH=/app/data/agentlens.db
- AGENTGATE_URL=http://agentgate:3002
- LORE_ENABLED=true
- LORE_MODE=remote
- LORE_API_URL=http://lore:8765
- LORE_API_KEY=lore_sk_a01079a5b4b6c6f194b6419a69ff92dd
- MESH_ENABLED=true
- MESH_URL=http://mesh:8766
volumes:
- agentlens-data:/app/data
networks:
- agentkit
restart: unless-stopped
depends_on:
lore:
condition: service_healthy
deploy:
resources:
limits:
memory: 256M
agentgate:
image: pazgaz/agentgate:latest
# build:
# context: ../agentgate
# dockerfile: Dockerfile
container_name: agentgate
ports:
- "3002:3002"
environment:
- PORT=3002
- NODE_ENV=production
- LOG_FORMAT=json
- ADMIN_API_KEY=agentkit-local-dev-key-1234
- JWT_SECRET=agentkit-local-dev-jwt-secret-1234567890abcdef
- AGENTLENS_URL=http://agentlens:3000
volumes:
- agentgate-data:/app/data
networks:
- agentkit
restart: unless-stopped
deploy:
resources:
limits:
memory: 256M
lore:
image: pazgaz/lore:latest
# build:
# context: ../lore
# dockerfile: Dockerfile.server
container_name: lore
ports:
- "8765:8765"
environment:
- DATABASE_URL=postgresql://lore:lore@lore-db:5432/lore
volumes:
- lore-data:/app/data
networks:
- agentkit
restart: unless-stopped
depends_on:
lore-db:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://localhost:8765/health')\""]
interval: 5s
timeout: 3s
retries: 10
start_period: 10s
deploy:
resources:
limits:
memory: 256M
lore-db:
image: pgvector/pgvector:pg16
container_name: lore-db
environment:
- POSTGRES_USER=lore
- POSTGRES_PASSWORD=lore
- POSTGRES_DB=lore
volumes:
- lore-db-data:/var/lib/postgresql/data
networks:
- agentkit
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U lore"]
interval: 5s
timeout: 3s
retries: 5
deploy:
resources:
limits:
memory: 128M
mesh:
image: pazgaz/agentkit-mesh:latest
# build:
# context: ../agentkit-mesh
# dockerfile: Dockerfile
container_name: mesh
ports:
- "8766:8766"
environment:
- DB_PATH=/app/data/mesh.db
- NODE_ENV=production
volumes:
- mesh-data:/app/data
networks:
- agentkit
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8766/health"]
interval: 10s
timeout: 3s
retries: 3
deploy:
resources:
limits:
memory: 128M
volumes:
agentlens-data:
agentgate-data:
lore-data:
lore-db-data:
mesh-data:
networks:
agentkit:
driver: bridge