-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
executable file
·63 lines (52 loc) · 1.54 KB
/
docker-compose.dev.yml
File metadata and controls
executable file
·63 lines (52 loc) · 1.54 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
version: "3.8"
services:
vectorizer-dev:
build:
context: .
dockerfile: Dockerfile
args:
- PROFILE=release
- FEATURES=
container_name: vectorizer-dev
ports:
- "15002:15002" # MCP + REST API
- "15003:15003" # Additional port
volumes:
# Persistent data
- ./data:/vectorizer/data
- ./dashboard:/vectorizer/dashboard
# Workspace configuration for Docker
- ./workspace.docker.yml:/vectorizer/workspace.yml:ro
# Mount entire monorepo for development
- ../../:/workspace:ro
# Mount logs for debugging
- ./logs:/vectorizer/.logs
environment:
- VECTORIZER_HOST=0.0.0.0
- VECTORIZER_PORT=15002
- TZ=America/Sao_Paulo
- RUN_MODE=development
- RUST_LOG=debug
- RUST_BACKTRACE=1
# Authentication (enabled by default with admin credentials)
# For development, using simple credentials is acceptable
- VECTORIZER_AUTH_ENABLED=true
- VECTORIZER_ADMIN_USERNAME=admin
- VECTORIZER_ADMIN_PASSWORD=admin
- VECTORIZER_JWT_SECRET=dev-secret-key
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:15002/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
# For development, allow more resources
deploy:
resources:
limits:
cpus: "8.0"
memory: 8G
reservations:
cpus: "4.0"
memory: 4G