commit c7671b9c1abb39309dbfd19da418ea673899c3ca Author: liuhuayong Date: Sat Jun 13 13:16:21 2026 +0800 chore: add .gitignore and stage all project files diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..34e0026 --- /dev/null +++ b/.gitignore @@ -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 + diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c552d09 --- /dev/null +++ b/docker-compose.yml @@ -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: