-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
50 lines (48 loc) · 1.48 KB
/
docker-compose.dev.yml
File metadata and controls
50 lines (48 loc) · 1.48 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
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
ports:
- "3510:3000"
volumes:
- ./frontend/src:/app/src
- ./frontend/public:/app/public
depends_on:
backend:
condition: service_healthy
environment:
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://localhost:8510}
backend:
build:
context: ./backend
dockerfile: Dockerfile.dev
ports:
- "8510:8000"
volumes:
- ./backend/app:/app/app
- ./backend/templates:/app/templates
- ${WORKSPACE_PATH:-./_workspace}:/workspace
- /:/host-root
- texugo-data:/root/.texugo
# claude code + credenciais do host
- ${HOME}/.local/share/claude:/root/.local/share/claude:ro
- ${HOME}/.claude:/root/.claude
- ${HOME}/.claude.json:/root/.claude.json
- ${HOME}/.config/gh:/root/.config/gh:ro
- ${HOME}/.gitconfig:/root/.gitconfig:ro
environment:
- WORKSPACE_DIR=/workspace
- CORS_ORIGINS=${CORS_ORIGINS:-http://localhost:3510}
- HOST_ROOT=/host-root
- PATH=/usr/local/bin:/usr/bin:/bin:/root/.local/share/claude/versions/current
- COLLAB_ENABLED=${COLLAB_ENABLED:-false}
- COLLAB_HOST_IP=${COLLAB_HOST_IP:-}
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')"]
interval: 10s
timeout: 5s
retries: 3
start_period: 5s
volumes:
texugo-data: