forked from windoliver/grove
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (35 loc) · 1011 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (35 loc) · 1011 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
36
37
##
# Local development services for Grove.
#
# Nexus (nexi-lab/nexus) provides the shared VFS backend
# used by NexusHttpClient for integration tests.
#
# Usage:
# docker compose up nexus -d # Start Nexus on port 2026
# docker compose down # Stop all services
#
# Integration tests:
# NEXUS_URL=http://localhost:2026 bun test tests/nexus/integration/
##
services:
nexus:
build:
context: .
dockerfile: Dockerfile.nexus
ports:
- "2026:2026"
environment:
# Nexus only needs ANTHROPIC_API_KEY for agent features;
# the VFS layer works without it for integration tests.
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-sk-test-placeholder}
volumes:
- nexus-data:/app/data
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:2026/health')"]
interval: 5s
timeout: 3s
retries: 10
start_period: 10s
restart: unless-stopped
volumes:
nexus-data: