forked from zwaetschge/plum-code-webui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.hub.yml
More file actions
42 lines (39 loc) · 1.38 KB
/
docker-compose.hub.yml
File metadata and controls
42 lines (39 loc) · 1.38 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
# Docker Compose file for pulling from Docker Hub
# Usage: docker-compose -f docker-compose.hub.yml up -d
#
# Before running, create a .env file with:
# SESSION_SECRET=your-session-secret-at-least-32-characters
# JWT_SECRET=your-jwt-secret-at-least-32-characters
services:
claude-code-webui:
image: valentin2177/claude-code-webui:latest
container_name: claude-code-webui
restart: unless-stopped
ports:
- "5174:3001"
environment:
- NODE_ENV=production
- SESSION_SECRET=${SESSION_SECRET:-changeme-session-secret-at-least-32-chars}
- JWT_SECRET=${JWT_SECRET:-changeme-jwt-secret-at-least-32-chars}
- FRONTEND_URL=${FRONTEND_URL:-http://localhost:5174}
- ALLOWED_BASE_PATHS=${ALLOWED_BASE_PATHS:-/home}
- CLAUDE_USER_EMAIL=${CLAUDE_USER_EMAIL:-}
- GEMINI_API_KEY=${GEMINI_API_KEY:-}
volumes:
# Persist database
- claude-data:/app/packages/backend/data
# Mount Claude credentials from host
- ${HOME}/.claude:/home/node/.claude
# Optional: Mount Gemini config
- ${HOME}/.gemini:/home/node/.gemini
# Mount your project directories (adjust as needed)
- ${HOME}:/home/hostuser
# Optional: Docker socket for container access
# - /var/run/docker.sock:/var/run/docker.sock
networks:
- claude-network
volumes:
claude-data:
networks:
claude-network:
driver: bridge