mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
- Update package names from opencode-webui to opencode-manager - Update all backend import statements to use @opencode-manager/shared - Update Docker configuration and container name - Update README.md with new repository URLs and project title - Update frontend assets and titles - Update version to 0.4.0 - Update docker entrypoint script comments This change maintains all functionality while better reflecting the project's purpose as a comprehensive management interface for OpenCode.
41 lines
990 B
YAML
41 lines
990 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: opencode-manager
|
|
ports:
|
|
- "5003:5003"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- HOST=0.0.0.0
|
|
- PORT=5003
|
|
- OPENCODE_SERVER_PORT=5551
|
|
- DATABASE_PATH=/app/data/opencode.db
|
|
- WORKSPACE_PATH=/workspace
|
|
- PROCESS_START_WAIT_MS=2000
|
|
- PROCESS_VERIFY_WAIT_MS=1000
|
|
- HEALTH_CHECK_INTERVAL_MS=5000
|
|
- HEALTH_CHECK_TIMEOUT_MS=30000
|
|
- MAX_FILE_SIZE_MB=50
|
|
- MAX_UPLOAD_SIZE_MB=50
|
|
- SANDBOX_TTL_HOURS=24
|
|
- CLEANUP_INTERVAL_MINUTES=60
|
|
- DEBUG=false
|
|
volumes:
|
|
- opencode-workspace:/workspace
|
|
- opencode-data:/app/data
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:5003/api/health"]
|
|
interval: 30s
|
|
timeout: 3s
|
|
retries: 3
|
|
start_period: 40s
|
|
|
|
volumes:
|
|
opencode-workspace:
|
|
driver: local
|
|
opencode-data:
|
|
driver: local
|