chore: add .gitignore and stage all project files

This commit is contained in:
liuhuayong 2026-06-13 13:16:21 +08:00
commit c7671b9c1a
2 changed files with 72 additions and 0 deletions

45
.gitignore vendored Normal file
View File

@ -0,0 +1,45 @@
# macOS resource forks
._*
.DS_Store
.AppleDouble
.LSOverride
# IDE
.idea/
.vscode/
*.swp
*.swo
*~
# Python
__pycache__/
*.py[cod]
*.egg-info/
.venv/
venv/
# Node
node_modules/
.npm/
dist/
.next/
.nuxt/
# Rust / Cargo
target/
# Archives
*.rar
*.tar
*.tar.gz
*.zip
# Logs
*.log
logs/
# Env files (keep example only)
.env
.env.local
.env.*.local

27
docker-compose.yml Normal file
View File

@ -0,0 +1,27 @@
version: '3.8'
services:
openclaw-gateway:
image: ghcr.io/openclaw/openclaw:latest
container_name: openclaw-1-gateway
ports:
- "18789:18789"
volumes:
- openclaw-1-data:/home/node/.openclaw
environment:
- OPENCLAW_DISABLE_BONJOUR=1
- OPENCLAW_GATEWAY_BIND=loopback
restart: unless-stopped
openclaw-cli:
image: ghcr.io/openclaw/openclaw:latest
container_name: openclaw-1-cli
volumes:
- openclaw-1-data:/home/node/.openclaw
environment:
- OPENCLAW_DISABLE_BONJOUR=1
profiles:
- cli
volumes:
openclaw-1-data: