-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 925 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (33 loc) · 925 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
services:
postgres:
image: postgres:16
environment:
POSTGRES_USER: alforja
POSTGRES_PASSWORD: alforja
POSTGRES_DB: alforja
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U alforja"]
interval: 5s
timeout: 3s
retries: 10
weaviate:
image: cr.weaviate.io/semitechnologies/weaviate:1.27.0
command: ["--host", "0.0.0.0", "--port", "8080", "--scheme", "http"]
ports:
- "8080:8080"
- "50051:50051"
environment:
# BYO vectors (SAD §7): sin módulos de vectorización — los embeddings los pone Alforja
DEFAULT_VECTORIZER_MODULE: "none"
ENABLE_MODULES: ""
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: "true"
PERSISTENCE_DATA_PATH: /var/lib/weaviate
volumes:
- weaviatedata:/var/lib/weaviate
volumes:
pgdata:
weaviatedata: