-
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) · 1.6 KB
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (43 loc) · 1.6 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
name: contractiq
services:
postgres:
image: pgvector/pgvector:0.8.6-pg18-trixie@sha256:78bf48b801e792f99e3ac62b5036fd3876e9be48afda16c1e331af1c75ceb2ff
environment:
POSTGRES_DB: ${CONTRACTIQ_POSTGRES_DB:-contractiq}
POSTGRES_USER: ${CONTRACTIQ_POSTGRES_USER:-contractiq}
POSTGRES_PASSWORD: ${CONTRACTIQ_POSTGRES_PASSWORD:-contractiq}
ports:
- "127.0.0.1:${CONTRACTIQ_POSTGRES_PORT:-5432}:5432"
volumes:
- contractiq-postgres-data:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U \"$$POSTGRES_USER\" -d \"$$POSTGRES_DB\""]
interval: 5s
timeout: 5s
retries: 10
start_period: 10s
ollama:
image: ollama/ollama:0.33.2@sha256:020e4134285e2ef4d8fd801234176de3b4faadc992a3eb06c8e66a2f9d4c4ba2
profiles: ["local-ai"]
ports:
- "127.0.0.1:${CONTRACTIQ_OLLAMA_PORT:-11434}:11434"
volumes:
- contractiq-ollama-data:/root/.ollama
healthcheck:
test: ["CMD", "ollama", "list"]
interval: 10s
timeout: 5s
retries: 10
start_period: 15s
aspire-dashboard:
image: ${CONTRACTIQ_ASPIRE_DASHBOARD_IMAGE:-mcr.microsoft.com/dotnet/aspire-dashboard@sha256:eb1ae1653f83dbdb9e902d903bfad620d0da859b1ea46939844989a56c9f3943}
profiles: ["observability"]
environment:
ASPIRE_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS: "true"
ports:
- "127.0.0.1:${CONTRACTIQ_ASPIRE_DASHBOARD_PORT:-18888}:18888"
- "127.0.0.1:${CONTRACTIQ_OTLP_GRPC_PORT:-4317}:18889"
- "127.0.0.1:${CONTRACTIQ_OTLP_HTTP_PORT:-4318}:18890"
volumes:
contractiq-postgres-data:
contractiq-ollama-data: