-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
83 lines (80 loc) · 2.32 KB
/
Copy pathdocker-compose.yml
File metadata and controls
83 lines (80 loc) · 2.32 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
services:
postgres:
image: pgvector/pgvector:pg16
restart: unless-stopped
environment:
POSTGRES_USER: recall
POSTGRES_PASSWORD: recall
POSTGRES_DB: recall
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U recall -d recall"]
interval: 10s
timeout: 5s
retries: 5
ports:
- "127.0.0.1:5432:5432"
embed:
build:
context: .
dockerfile: recall-embed/Dockerfile
restart: unless-stopped
environment:
RECALL_HOME: /data/recall
EMBED_HOST: 0.0.0.0
EMBED_PORT: 7879
volumes:
- recall-data:/data/recall
healthcheck:
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:7879/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 120s
backend:
build:
context: .
dockerfile: backend/Dockerfile
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
embed:
condition: service_healthy
ports:
- "${RECALL_PORT:-7878}:7878"
environment:
RECALL_HOME: /data/recall
HOST: 0.0.0.0
PORT: 7878
DATABASE_URL: postgresql://recall:recall@postgres:5432/recall
EMBED_HOST: embed
EMBED_PORT: 7879
EMBED_AUTO_START: "false"
RECALL_API_KEY: ${RECALL_API_KEY:-}
AUTH_LEGACY_API_KEY: ${AUTH_LEGACY_API_KEY:-false}
BOOTSTRAP_USER_EMAIL: ${BOOTSTRAP_USER_EMAIL:-bootstrap@recall.local}
JWT_PRIVATE_KEY: ${JWT_PRIVATE_KEY:-}
JWT_PUBLIC_KEY: ${JWT_PUBLIC_KEY:-}
RECALL_CORS_ORIGINS: ${RECALL_CORS_ORIGINS:-*}
TRUST_PROXY: ${TRUST_PROXY:-false}
PUBLIC_BASE_URL: ${PUBLIC_BASE_URL:-http://127.0.0.1:7878}
FIREWORKS_API_KEY: ${FIREWORKS_API_KEY:-}
FIRECRAWL_API_KEY: ${FIRECRAWL_API_KEY:-}
FIRECRAWL_MAX_CRAWL_PAGES: ${FIRECRAWL_MAX_CRAWL_PAGES:-25}
DOC_EXTRACT_MIN_CLIENT_CHARS: ${DOC_EXTRACT_MIN_CLIENT_CHARS:-800}
SMTP_HOST: ${SMTP_HOST:-}
SMTP_PORT: ${SMTP_PORT:-587}
SMTP_SECURE: ${SMTP_SECURE:-false}
SMTP_USER: ${SMTP_USER:-}
SMTP_PASS: ${SMTP_PASS:-}
SMTP_FROM: ${SMTP_FROM:-}
EMAIL_DEV_LOG: ${EMAIL_DEV_LOG:-false}
PYTHON_BIN: python3
YTDLP_BIN: yt-dlp
volumes:
- recall-data:/data/recall
volumes:
recall-data:
postgres-data: