-
Notifications
You must be signed in to change notification settings - Fork 903
/
docker-compose.yml
116 lines (101 loc) · 2.38 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
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
name: julep-agents-api
version: "3"
services:
agents-api:
image: julepai/agents-api:dev
env_file: "../.env"
container_name: agents-api
depends_on:
memory-store:
condition: service_started
worker:
condition: service_started
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
develop:
watch:
- action: sync+restart
path: ./agents_api
target: /app/agents_api
ignore:
- ./**/*.pyc
- action: rebuild
path: poetry.lock
- action: rebuild
path: Dockerfile
worker:
image: julepai/worker:dev
env_file: "../.env"
build:
context: .
dockerfile: Dockerfile.worker
depends_on:
text-embeddings-inference:
condition: service_started
temporal:
condition: service_started
develop:
watch:
- action: sync+restart
path: ./agents_api
target: /app/agents_api
ignore:
- ./**/*.pyc
- action: rebuild
path: poetry.lock
- action: rebuild
path: Dockerfile.worker
text-embeddings-inference:
container_name: text-embeddings-inference
environment:
- DTYPE=float16
- MODEL_ID=BAAI/llm-embedder
image: ghcr.io/huggingface/text-embeddings-inference:1.0
ports:
- "8082:80"
shm_size: "2gb"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
temporal:
image: julepai/temporal:dev
container_name: temporal
env_file: "../.env"
build:
context: .
dockerfile: Dockerfile.temporal
ports:
- 7233:7233
volumes:
- temporal_data:/home/temporal
develop:
watch:
- action: rebuild
path: Dockerfile.temporal
cozo-migrate:
image: julepai/cozo-migrate:dev
env_file: "../.env"
container_name: cozo-migrate
depends_on:
memory-store:
condition: service_started
build:
context: .
dockerfile: Dockerfile.migration
restart: "no" # Make sure to double quote this
develop:
watch:
- action: sync+restart
path: ./migrations
target: /app/migrations
- action: rebuild
path: Dockerfile.migration
volumes:
temporal_data: