2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-04 02:07:12 +08:00
Files
templates/openclaw/docker-compose.yml
2026-01-30 18:48:38 +08:00

37 lines
907 B
YAML

services:
openclaw:
# You need to run `node dist/index.js onboard` to initialize the config files after the first launch.
image: ghcr.io/openclaw/openclaw:latest
environment:
UMASK: 022
HOME: /home/node
TERM: xterm-256color
BROWSER: echo
OPENCLAW_GATEWAY_TOKEN: "${OPENCLAW_GATEWAY_TOKEN}"
volumes:
- ./data/config:/home/node/.openclaw
- ./data/workspace:/home/node/.openclaw/workspace
ports:
- "${OPENCLAW_GATEWAY_PORT}:18789"
- "${OPENCLAW_BRIDGE_PORT}:18790"
user: "0:0"
init: true
stdin_open: true
tty: true
restart: unless-stopped
networks:
- acepanel-network
command:
[
"node",
"dist/index.js",
"gateway",
"--bind",
"lan",
"--port",
"18789",
"--allow-unconfigured"
]
networks:
acepanel-network:
external: true