generated from axioma-ai-labs/python-template
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
67 lines (58 loc) · 1.6 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
60
61
62
63
64
65
66
67
# == Re-useable Definitions ==================================================
# Default service definition
x-service-default: &service_default
env_file:
- .env
networks:
- internal_net
- external_net
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
# == Services ===============================================================
services:
# -- Nevron Agent -------------------------------------------------------
#
# The main Nevron AI agent service
nevron:
<<: *service_default
image: axiomai/nevron:latest
container_name: nevron
hostname: nevron
depends_on:
- qdrant
volumes:
- type: bind
source: ${volumes_basedir:-./volumes}/nevron/logs
target: /app/logs
- type: bind
source: ${volumes_basedir:-./volumes}/nevron/chromadb
target: /app/.chromadb
# -- Qdrant ---------------------------------------------------------------
#
# Vector database with persistent storage
qdrant:
<<: *service_default
image: qdrant/qdrant:latest
container_name: nevron-qdrant
hostname: nevron-qdrant
ports:
- "6333:6333"
- "6334:6334"
volumes:
- type: bind
source: ${volumes_basedir:-./volumes}/qdrant/data
target: /qdrant/storage
- type: bind
source: ${volumes_basedir:-./volumes}/qdrant/snapshots
target: /qdrant/snapshots
# == Networks ===============================================================
networks:
internal_net:
driver: bridge
internal: true
external_net:
driver: bridge