forked from argmaxml/hiring_challenge_2024
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 784 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (43 loc) · 784 Bytes
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
version: '3.9'
services:
nb:
build:
context: nb
dockerfile: Dockerfile
ports:
- "8888:8888"
networks:
- argmax
depends_on:
- emb
emb:
build:
context: emb
dockerfile: Dockerfile
environment:
MODEL_NAME: mixedbread-ai/mxbai-embed-large-v1
MODEL_DIM: 1024
BATCH_SIZE: 16
DB_URL: postgresql://postgres:argmax@pg:5432/postgres
EMBED_FREQUENCY: 1
ports:
- "8080:8080"
networks:
- argmax
depends_on:
- pg
pg:
build:
context: pg
dockerfile: Dockerfile
ports:
- "5432:5432"
restart: always
shm_size: 128mb
environment:
POSTGRES_PASSWORD: argmax
networks:
- argmax
networks:
argmax:
driver: bridge