services:
  openclaw:
    container_name: ${CONTAINER_NAME}
    image: 1panel/openclaw:2026.3.8
    restart: unless-stopped
    networks:
      - opsmind-network
    environment:
      HOME: /home/node
      TERM: xterm-256color
    volumes:
      - ./data/conf:/home/node/.openclaw
      - ./data/workspace:/home/node/.openclaw/workspace
    ports:
      - ${PANEL_APP_PORT_HTTP}:18789
      - ${PANEL_APP_PORT_BRIDGE}:18790
    init: true
    command:
      [
        "node",
        "dist/index.js",
        "gateway",
        "--bind",
        "lan",
        "--port",
        "18789"
      ]
    labels:
      createdBy: "Apps"
networks:
  opsmind-network:
    external: true
