-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (29 loc) · 827 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (29 loc) · 827 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
services:
up-vector:
build: .
expose:
- "8080"
environment:
UPVECTOR_TOKEN: ${UPVECTOR_TOKEN:?Set UPVECTOR_TOKEN in .env}
UPVECTOR_REDIS_URL: redis://redis:6379
UPVECTOR_PORT: "8080"
UPVECTOR_METRIC: ${UPVECTOR_METRIC:-COSINE}
UPVECTOR_LOG_LEVEL: ${UPVECTOR_LOG_LEVEL:-info}
depends_on:
redis:
condition: service_healthy
restart: unless-stopped
redis:
# Pinned for production stability. Dependabot (docker-compose ecosystem)
# proposes bumps; take them after the weekly canary-redis job is green.
image: redis/redis-stack-server:7.4.0-v8
volumes:
- redis-data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
restart: unless-stopped
volumes:
redis-data: