-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 1.02 KB
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (35 loc) · 1.02 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
x-restart-policy: &restart_policy
restart: unless-stopped
services:
postgresql:
image: postgres:16.3
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- ./storage/postgresql:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5
<<: [*restart_policy]
chroma:
image: chromadb/chroma:0.5.5
volumes:
- ./storage/chroma:/chroma/chroma
<<: [*restart_policy]
iada:
image: ghcr.io/bartolomeoadrian/iada:latest
ports:
- "${PORT}:80"
environment:
POSTGRESQL_URL: ${POSTGRESQL_URL}
CHROMA_URL: ${CHROMA_URL}
GEMINI_API_KEY: ${GEMINI_API_KEY}
depends_on:
postgresql:
condition: service_healthy
chroma:
condition: service_started
<<: [*restart_policy]