-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (50 loc) · 1.4 KB
/
docker-compose.yml
File metadata and controls
52 lines (50 loc) · 1.4 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
# Gorev Server - Centralized Mode
#
# This configuration runs Gorev in centralized mode where:
# - Single database stores all workspaces' data
# - Workspaces are isolated by workspace_id
# - VS Code extensions connect remotely
#
# Usage:
# docker-compose up -d # Start server
# docker-compose logs -f # View logs
# docker-compose down # Stop server
# docker-compose down -v # Stop and remove data
#
# Test with: ./scripts/test-e2e.sh
services:
gorev:
build:
context: .
dockerfile: Dockerfile
image: gorev:latest
container_name: gorev-server
ports:
- "5082:5082"
volumes:
- gorev-data:/data
environment:
# Language: tr (Turkish) or en (English)
- GOREV_LANG=tr
# Server mode: centralized (single DB) or local (per-workspace DB)
- GOREV_MODE=centralized
# Database path for centralized mode
- GOREV_DB_PATH=/data/gorev.db
# Default workspace ID for MCP connections (optional)
# - GOREV_WORKSPACE_ID=default
command: >
gorev serve
--mode centralized
--db-path /data/gorev.db
--api-port 5082
--debug
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:5082/api/v1/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
gorev-data:
name: gorev-centralized-data