-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.enterprise.yaml
More file actions
45 lines (42 loc) · 1.13 KB
/
docker-compose.enterprise.yaml
File metadata and controls
45 lines (42 loc) · 1.13 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
services:
voidllm:
image: ghcr.io/voidmind-io/voidllm:latest
ports:
- "8080:8080"
volumes:
- ./voidllm.yaml:/etc/voidllm/voidllm.yaml:ro
- ./voidllm.license.jwt:/etc/voidllm/voidllm.license.jwt:ro
environment:
- VOIDLLM_ADMIN_KEY=${VOIDLLM_ADMIN_KEY}
- VOIDLLM_ENCRYPTION_KEY=${VOIDLLM_ENCRYPTION_KEY}
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
restart: unless-stopped
postgres:
image: postgres:16-alpine
environment:
POSTGRES_DB: voidllm
POSTGRES_USER: voidllm
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-changeme}
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U voidllm"]
interval: 5s
timeout: 3s
retries: 5
restart: unless-stopped
redis:
image: redis:7-alpine
command: redis-server --maxmemory 128mb --maxmemory-policy allkeys-lru
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
restart: unless-stopped
volumes:
postgres_data: