-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (56 loc) · 1.2 KB
/
docker-compose.yml
File metadata and controls
57 lines (56 loc) · 1.2 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
name: logstream
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- 41234:41234/udp
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/queue_health"]
interval: 10s
env_file:
- path: ./default.env
required: true
- path: ./override.env
required: false
depends_on:
- pgvector
- valkey
webui:
build:
context: ./webui
dockerfile: Dockerfile
ports:
- 7860:7860
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7860"]
interval: 10s
env_file:
- path: default.env
required: true
- path: override.env
required: false
depends_on:
app:
condition: service_healthy
# Backend Services
pgvector:
image: pgvector/pgvector:pg16
env_file:
- path: default.env
required: true
- path: override.env
required: false
volumes:
- ./runtime-data/pgvector:/var/lib/postgresql/data
adminer:
image: adminer
ports:
- 7861:8080
environment:
- ADMINER_DEFAULT_SERVER=pgvector
valkey:
image: valkey/valkey:7.2
volumes:
- ./runtime-data/valkey:/data