add openclaw
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
# Generate a random token for gateway authentication
|
||||||
|
# You can use: openssl rand -hex 32
|
||||||
|
OPENCLAW_GATEWAY_TOKEN=your-gateway-token-here
|
||||||
|
|
||||||
|
# Your Anthropic API key (get from console.anthropic.com)
|
||||||
|
ANTHROPIC_API_KEY=sk-ant-xxxxx
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
services:
|
||||||
|
openclaw:
|
||||||
|
container_name: openclaw
|
||||||
|
image: fourplayers/openclaw:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 18789:18789
|
||||||
|
- 18790:18790
|
||||||
|
environment:
|
||||||
|
- HOME=/home/node
|
||||||
|
- TERM=xterm-256color
|
||||||
|
- TZ=America/New_York
|
||||||
|
- OPENCLAW_GATEWAY_TOKEN=${OPENCLAW_GATEWAY_TOKEN}
|
||||||
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
||||||
|
volumes:
|
||||||
|
- /srv/openclaw/config:/home/node/.openclaw
|
||||||
|
- /srv/openclaw/workspace:/home/node/.openclaw/workspace
|
||||||
|
init: true
|
||||||
|
networks:
|
||||||
|
- npm-network
|
||||||
|
|
||||||
|
networks:
|
||||||
|
npm-network:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user